SIGN IN SIGN UP

bpo-39357: Remove buffering parameter of bz2.BZ2File (GH-18028)

Remove the buffering parameter of bz2.BZ2File. Since Python 3.0, it
was ignored and using it was emitting a DeprecationWarning. Pass an
open file object to control how the file is opened.

The compresslevel parameter becomes keyword-only.
V
Victor Stinner committed
9baf242fc733ab8a52a0b6201d95c6fdb8251745
Parent: c5b7900
Committed by GitHub <noreply@github.com> on 1/16/2020, 2:33:30 PM