Éric Araujo <mer...@netwok.org> added the comment:

Thanks.  Unless another core dev wants to do a complementary review I will 
slightly tweak the patch and commit it.  I need to finish waking up and eat 
some food before I do that :)

Technically adding a new argument means that this is a new feature and cannot 
be applied to the stable 3.2 version, but something needs to be done for this 
bug in 3.2 too, like a recipe in the docs for a hook_compressed that returns 
strings (i.e. a function that calls fileinput.hook_compressed and wraps it in a 
TextIOWrapper), or at least a note to warn about this bug.

----------
assignee:  -> eric.araujo
versions: +Python 3.3 -Python 3.1

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

Reply via email to