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

Gunnar Aastrand Grimnes report at bugs.python.org
Mon Feb 3 15:55:51 CET 2014


Gunnar Aastrand Grimnes added the comment:

The problem lies in codecs.py here: http://hg.python.org/cpython/file/ae7facd874ba/Lib/codecs.py#l581

----------

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


More information about the Python-bugs-list mailing list