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 r.david.murray
Recipients jaraco, r.david.murray, zach.ware
Date 2012-06-14.17:32:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1339695178.0.0.934777416125.issue15068@psf.upfronthosting.co.za>
In-reply-to
Content
I don't know how the EOF character works, but I wouldn't be surprised if it had to be on a line by itself to mean EOF.

If the double EOF is required when not at the interactive prompt, then there could be a long standing bug in fileinput's logic where it is doing another read after the last file is closed.  Normally this wouldn't even be visible since it would just get EOF again, but when the file is an interactive STDIN, closing it doesn't really close it...
History
Date User Action Args
2012-06-14 17:32:58r.david.murraysetrecipients: + r.david.murray, jaraco, zach.ware
2012-06-14 17:32:58r.david.murraysetmessageid: <1339695178.0.0.934777416125.issue15068@psf.upfronthosting.co.za>
2012-06-14 17:32:57r.david.murraylinkissue15068 messages
2012-06-14 17:32:57r.david.murraycreate