R. David Murray added the comment:

Unfortunately, since 2.7 is in feature freeze, we can't add any new API there 
to allow a circumvention.  On the other hand, it sounds like Serhiy has come up 
with an actual fix in the other issue, based on the reason that it is not in 
fact a problem in 3.x (the io module is smarter than the codecs module in this 
context).

So, I'm going to close this issue...sorry you went to the extra effort of 
creating it to no purpose.

----------
nosy: +r.david.murray
resolution:  -> duplicate
stage:  -> committed/rejected
status: open -> closed
superseder:  -> fileinput module will read whole file into memory when using 
fileinput.hook_encoded
type:  -> enhancement

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

Reply via email to