Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
May 20, 2019

Conversation

Carreau
Copy link
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
Contributor

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

@@ -821,6 +821,10 @@ The following features and APIs have been removed from Python 3.8:
exposed to the user.
(Contributed by Aviv Palivoda in :issue:`30262`.)

* 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
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.


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
Member

Choose a reason for hiding this comment

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

Remove round.

@bedevere-bot
Copy link

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
Contributor Author

Carreau commented May 20, 2019

I have made the requested changes; please review again.

@bedevere-bot
Copy link

Thanks for making the requested changes!

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

@Carreau
Copy link
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
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
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