[issue20501] fileinput module will read whole file into memory when using fileinput.hook_encoded
Serhiy Storchaka
report at bugs.python.org
Wed Feb 5 20:42:46 CET 2014
Serhiy Storchaka added the comment:
As far as the issue is in the codecs module, this is 2.7 only issue, because codecs.open is used only in 2.7. And I suppose that replacing codecs.open by io.open should fix this issue.
----------
keywords: +patch
nosy: +benjamin.peterson, hynek, pitrou, serhiy.storchaka, stutzbach
stage: -> patch review
versions: -Python 3.3, Python 3.4
Added file: http://bugs.python.org/file33934/fileinput_hook_encoded.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20501>
_______________________________________
More information about the Python-bugs-list
mailing list