[docs] [issue24404] Python 2.7.0's BZ2File does not support with-statements

Ned Deily report at bugs.python.org
Mon Jun 8 03:07:32 CEST 2015

Ned Deily added the comment:

The misbehavior in Python 2.7 was due to a bug as documented in Issue9928, a bug that unfortunately was not discovered until just after 2.7 was initially released.  The fix for Issue9928 was first included in 2.7.1 as you discovered.  So the documentation has always been correct in intent.  For Python versions in maintenance mode, like 2.7.x and 3.4.x, we only provide fixes for the most recent minor release of each (e.g. currently 2.7.10 and 3.4.3), so Python 2.7 was no longer supported once Python 2.7.1 was released and those events were nearly five years and many minor versions ago.  It's a bit of a judgement call in this case but I don't think there's a compelling reason to change the documentation now.  The current version of the 2.7 documentation is intended to reflect the current state of Python 2.7, e.g. 2.7.10, which it does.  And we hope that no one is still using 2.7(.0).

nosy: +ned.deily
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> weird oddity with bz2 context manager

Python tracker <report at bugs.python.org>

More information about the docs mailing list