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 pitrou
Recipients asnakelover, brian.curtin, jackdied, nirai, pitrou
Date 2009-12-19.21:19:48
SpamBayes Score 0.0006316708
Marked as misclassified No
Message-id <1261257631.3339.4.camel@localhost>
In-reply-to <1261251094.35.0.443976640676.issue7471@psf.upfronthosting.co.za>
Content
> isatty() and __iter__() of io.BufferedIOBase raise on closed file and 
> __enter__() raises ValueError with different (generic) message. 
> 
> Should we keep the original GzipFile methods or prefer the implementation 
> of io.BufferedIOBase?

It's fine to use the BufferedIOBase implementation. There's no reason to
call isatty() on or iterate over a closed file.
History
Date User Action Args
2009-12-19 21:19:49pitrousetrecipients: + pitrou, jackdied, nirai, brian.curtin, asnakelover
2009-12-19 21:19:48pitroulinkissue7471 messages
2009-12-19 21:19:48pitroucreate