Message193918
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(). |
|
Date |
User |
Action |
Args |
2013-07-30 09:13:12 | Drekin | set | recipients:
+ Drekin |
2013-07-30 09:13:12 | Drekin | set | messageid: <1375175592.24.0.539816782076.issue18597@psf.upfronthosting.co.za> |
2013-07-30 09:13:12 | Drekin | link | issue18597 messages |
2013-07-30 09:13:11 | Drekin | create | |
|