[issue8602] documentation of bz2 module mildly erroneous

2010-05-07 Thread Matt Wartell
Matt Wartell added the comment: Per request, I have attached a context diff for both bz2.txt and 3.0.txt suitable for http://docs.python.org/library/bz2.html and http://docs.python.org/release/3.0.1/whatsnew/3.0.html respectively. The modification in bz2.txt may border on redundant and

[issue8601] bz2.BZ2File should support "with" protocol per PEP 343

2010-05-03 Thread Matt Wartell
Matt Wartell added the comment: Sorry for the dup, and thanks for the patch. My patch for Module/bz2module.c was almost done - I learned a lot in the process, but foremost to check better for dups, first ;) -- ___ Python tracker <h

[issue8601] bz2.BZ2File should support "with" protocol per PEP 343

2010-05-03 Thread Matt Wartell
Matt Wartell added the comment: cross referenced with documentation issue http://bugs.python.org/issue8602 "documentation of bz2 module mildly erroneous" -- ___ Python tracker <http://bugs.python.

[issue8602] documentation of bz2 module mildly erroneous

2010-05-03 Thread Matt Wartell
New submission from Matt Wartell : 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 interfac

[issue8601] bz2.BZ2File should support "with" protocol per PEP 343

2010-05-02 Thread Matt Wartell
New submission from Matt Wartell : As the bz2.BZ2File object claims to be a file-like object it should conform to PEP 343 "The 'with' statement" by implementation of the __enter__ and __exit__ methods. boring, substantiating detail follows: $ uname -a Linux tallguy 2

[issue8562] hasattr(open, 'newlines') example gives incorrect results from PEP0278

2010-04-28 Thread Matt Wartell
Changes by Matt Wartell : -- nosy: +Matt.Wartell ___ Python tracker <http://bugs.python.org/issue8562> ___ ___ Python-bugs-list mailing list Unsubscribe: