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 schmir
Recipients Finkregh, Rebecca, ajaksu2, falsetru, georg.brandl, nvetoshkin, pitrou, python-dev, schmir, vstinner
Date 2011-05-10.00:03:55
SpamBayes Score 0.0008708735
Marked as misclassified No
Message-id <1304985836.67.0.912653150034.issue1195@psf.upfronthosting.co.za>
In-reply-to
Content
The patch still does not handle the case where the eof indicator is already set when calling raw_input. My original patch does.

Run the following program and hit ctrl-d, then ctrl-c:

import sys
sys.stdin.read()

while True:
    try:
        s = raw_input('> ')
    except:
        pass
History
Date User Action Args
2011-05-10 00:03:59schmirsetrecipients: + schmir, georg.brandl, pitrou, falsetru, vstinner, ajaksu2, Rebecca, nvetoshkin, Finkregh, python-dev
2011-05-10 00:03:56schmirsetmessageid: <1304985836.67.0.912653150034.issue1195@psf.upfronthosting.co.za>
2011-05-10 00:03:55schmirlinkissue1195 messages
2011-05-10 00:03:55schmircreate