[issue39357] bz2: Remove deprecated buffering parameter of bz2.BZ2File

2020-01-17 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the fix Victor :) -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue39357] bz2: Remove deprecated buffering parameter of bz2.BZ2File

2020-01-17 Thread STINNER Victor
STINNER Victor added the comment: Thanks Karthikeyan, I forgot about the docstring. -- ___ Python tracker ___ ___ Python-bugs-list

[issue39357] bz2: Remove deprecated buffering parameter of bz2.BZ2File

2020-01-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset 10fd6b2b9f0aeb8f5a0ce4cb4b9f21f942d39a71 by Victor Stinner in branch 'master': bpo-39357: Update bz2 docstring: remove buffering (GH-18036) https://github.com/python/cpython/commit/10fd6b2b9f0aeb8f5a0ce4cb4b9f21f942d39a71 -- _

[issue39357] bz2: Remove deprecated buffering parameter of bz2.BZ2File

2020-01-17 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +17434 pull_request: https://github.com/python/cpython/pull/18036 ___ Python tracker ___ __

[issue39357] bz2: Remove deprecated buffering parameter of bz2.BZ2File

2020-01-17 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: https://github.com/python/cpython/blob/9baf242fc733ab8a52a0b6201d95c6fdb8251745/Lib/bz2.py#L50 contains similar reference about buffering parameter deprecation like bz2.rst which could also be removed. Thanks. -- nosy: +xtreak

[issue39357] bz2: Remove deprecated buffering parameter of bz2.BZ2File

2020-01-16 Thread STINNER Victor
STINNER Victor added the comment: New changeset 9baf242fc733ab8a52a0b6201d95c6fdb8251745 by Victor Stinner in branch 'master': bpo-39357: Remove buffering parameter of bz2.BZ2File (GH-18028) https://github.com/python/cpython/commit/9baf242fc733ab8a52a0b6201d95c6fdb8251745 -- __

[issue39357] bz2: Remove deprecated buffering parameter of bz2.BZ2File

2020-01-16 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue39357] bz2: Remove deprecated buffering parameter of bz2.BZ2File

2020-01-16 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +17424 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18028 ___ Python tracker ___ _

[issue39357] bz2: Remove deprecated buffering parameter of bz2.BZ2File

2020-01-16 Thread STINNER Victor
New submission from STINNER Victor : The "buffering" parameter of bz2.BZ2File is deprecated for 12 years. Using it was emitting a DeprecationWarning since Python 3.0. Attached PR removes it. -- components: Library (Lib) messages: 360114 nosy: vstinner priority: normal severity: normal