Author pitrou
Recipients asnakelover, brian.curtin, jackdied, nirai, pitrou
Date 2009-12-19.21:19:48
SpamBayes Score 0.000631671
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