This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Matt.Wartell
Recipients Matt.Wartell, docs@python
Date 2010-05-03.07:03:52
SpamBayes Score 0.0012134578
Marked as misclassified No
Message-id <1272870234.45.0.00658969889364.issue8602@psf.upfronthosting.co.za>
In-reply-to
Content
This is related to http://bugs.python.org/issue8601 "bz2.BZ2File should support "with" protocol per PEP 343"

The documentation at http://docs.python.org/library/bz2.html states:

   "This module provides a comprehensive interface for the bz2 compression library. It implements a complete file interface,..." 

although bz2.BZ2File does not support the __enter__ and __exit__ methods so arguably doesn't implement the "complete file interface". If issue8601 is declined then the documentation should probably note this exception.
History
Date User Action Args
2010-05-03 07:03:54Matt.Wartellsetrecipients: + Matt.Wartell, docs@python
2010-05-03 07:03:54Matt.Wartellsetmessageid: <1272870234.45.0.00658969889364.issue8602@psf.upfronthosting.co.za>
2010-05-03 07:03:52Matt.Wartelllinkissue8602 messages
2010-05-03 07:03:52Matt.Wartellcreate