Message104818
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. |
|
Date |
User |
Action |
Args |
2010-05-03 07:03:54 | Matt.Wartell | set | recipients:
+ Matt.Wartell, docs@python |
2010-05-03 07:03:54 | Matt.Wartell | set | messageid: <1272870234.45.0.00658969889364.issue8602@psf.upfronthosting.co.za> |
2010-05-03 07:03:52 | Matt.Wartell | link | issue8602 messages |
2010-05-03 07:03:52 | Matt.Wartell | create | |
|