[issue3860] GzipFile and BZ2File should support context manager protocol

K Richard Pixley report at bugs.python.org
Sat Feb 12 20:32:31 CET 2011


K Richard Pixley <rich at noir.com> added the comment:

Documentation needs to be updated to state that these are now context managers.  This is important since they aren't in python-2.x.

I'm not sure whether this should be added to the "new in python" blurbs.

----------
nosy: +teamnoir

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3860>
_______________________________________


More information about the Python-bugs-list mailing list