Serhiy Storchaka <[email protected]> added the comment:
It is not only the fileinput. The same effect can be achieved by simple
idiomatic code:
import sys
while True:
chunk = sys.stdin.read(1000)
if not chunk:
break
# process
----------
nosy: +storchaka
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue15068>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com