Gregory P. Smith <g...@krypto.org> added the comment:

thanks that looks good.

As far as fixing this for 2.7 goes, i don't like the _sound_ of it because it 
is gross... But i'm actually okay with having special case code in the gzip 
module that rejects '<fdopen>' as an actual filename and uses '' instead in 
that case.  It is VERY unlikely that anyone ever intentionally wants to use 
that as a filename.

Anything more than that (changing the actual '<fdopen>' string for example) 
seems too invasive and might break someone's doctests and does genuinely make 
it more difficult to see what a fdopened file object is from its repr.

----------
assignee:  -> gregory.p.smith

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13781>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to