Skip to content

bpo-36952: remove bufsize keyword (deprecated 3.6, removed 3.8)#13400

Merged
serhiy-storchaka merged 7 commits intopython:masterfrom
Carreau:remove-deprecated-bufsize
May 20, 2019
Merged

bpo-36952: remove bufsize keyword (deprecated 3.6, removed 3.8)#13400
serhiy-storchaka merged 7 commits intopython:masterfrom
Carreau:remove-deprecated-bufsize

Conversation

@Carreau
Copy link
Copy Markdown
Contributor

@Carreau Carreau commented May 18, 2019

This keyword is marked as deprecated since 3.6 and for removal in 3.8.
It already had no effects.

https://bugs.python.org/issue36952

This keyword is marked as deprecated since 3.6 and for removal in 3.8.
It already had no effects.
@csabella
Copy link
Copy Markdown
Contributor

Asking for review from @serhiy-storchaka, as he added the deprecation warning.

Comment thread Doc/library/fileinput.rst Outdated
Comment thread Doc/whatsnew/3.8.rst Outdated

* The ``bufsize`` keyword argument of :func:`fileinput.input` and
:func:`fileinput.FileInput` which was ignored and deprecated since Python 3.6
has been removed. :issue:`36952`
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add "(Contributed by ...)" as in other entries.

Comment thread Lib/test/test_fileinput.py Outdated
Comment thread Lib/test/test_fileinput.py Outdated
self.buffer_size_test(t1, t2, t3, t4, round)

def buffer_size_test(self, t1, t2, t3, t4, bs=0, round=0):
def buffer_size_test(self, t1, t2, t3, t4, round=0):
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove round.

Comment thread Lib/test/test_fileinput.py Outdated
@bedevere-bot
Copy link
Copy Markdown

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

@Carreau
Copy link
Copy Markdown
Contributor Author

Carreau commented May 20, 2019

I have made the requested changes; please review again.

@bedevere-bot
Copy link
Copy Markdown

Thanks for making the requested changes!

@serhiy-storchaka: please review the changes made to this pull request.

Comment thread Doc/library/fileinput.rst
Comment thread Doc/library/fileinput.rst
Comment thread Doc/library/fileinput.rst
Comment thread Doc/library/fileinput.rst Outdated
Comment thread Lib/test/test_fileinput.py Outdated
@Carreau
Copy link
Copy Markdown
Contributor Author

Carreau commented May 20, 2019

Thanks, I've taken into account all the recommendations.

@Carreau Carreau force-pushed the remove-deprecated-bufsize branch from 6b2f7dc to eda634b Compare May 20, 2019 18:46
@Carreau
Copy link
Copy Markdown
Contributor Author

Carreau commented May 20, 2019

Typo removedi.

Fixed.

@Carreau Carreau deleted the remove-deprecated-bufsize branch May 20, 2019 21:12
@Carreau
Copy link
Copy Markdown
Contributor Author

Carreau commented May 20, 2019

Thanks @serhiy-storchaka !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants