This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients jaraco, r.david.murray, serhiy.storchaka, zach.ware
Date 2012-06-14.19:09:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1339700995.61.0.486892571772.issue15068@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2012-06-14 19:09:55serhiy.storchakasetrecipients: + serhiy.storchaka, jaraco, r.david.murray, zach.ware
2012-06-14 19:09:55serhiy.storchakasetmessageid: <1339700995.61.0.486892571772.issue15068@psf.upfronthosting.co.za>
2012-06-14 19:09:55serhiy.storchakalinkissue15068 messages
2012-06-14 19:09:54serhiy.storchakacreate