[docs] [issue20501] fileinput module will read whole file into memory when using fileinput.hook_encoded

Serhiy Storchaka report at bugs.python.org
Tue Feb 25 22:36:09 CET 2014


Serhiy Storchaka added the comment:

Thank you Zachary.

Here is a patch with a test. I'm not sure that it is successful on Windows.

----------
Added file: http://bugs.python.org/file34222/fileinput_hook_encoded_2.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20501>
_______________________________________


More information about the docs mailing list