Author Drekin
Recipients Drekin
Date 2013-07-30.09:13:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1375175592.24.0.539816782076.issue18597@psf.upfronthosting.co.za>
In-reply-to
Content
When I run sys.stdin.readline() interactivelly (on Windows and Python 3.3.2) and hit Ctrl-C, sometimes it returns an empty string just before KeyboardInterrupt is raised. Sometimes it isn't even raised and instead after hitting Return some weird SyntaxtError: unknown decode error (on line 0) occurs. Seems like propagation of KeyboardInterrupt is somehow out of sync. sys.stdin.read(n) has the same issue. May be related to recently fixed http://bugs.python.org/issue17619 where was similar situation with input().
History
Date User Action Args
2013-07-30 09:13:12Drekinsetrecipients: + Drekin
2013-07-30 09:13:12Drekinsetmessageid: <1375175592.24.0.539816782076.issue18597@psf.upfronthosting.co.za>
2013-07-30 09:13:12Drekinlinkissue18597 messages
2013-07-30 09:13:11Drekincreate