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.

作者 Drekin
收信人 Drekin
日期 2013-07-30.09:13:11
SpamBayes Score -1.0
Marked as misclassified
Message-id <1375175592.24.0.539816782076.issue18597@psf.upfronthosting.co.za>
In-reply-to
内容
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().
历史
日期 用户 动作 参数
2013-07-30 09:13:12Drekin修改recipients: + Drekin
2013-07-30 09:13:12Drekin修改messageid: <1375175592.24.0.539816782076.issue18597@psf.upfronthosting.co.za>
2013-07-30 09:13:12Drekin链接issue18597 messages
2013-07-30 09:13:11Drekin创建