Message256134
I'm also experiencing this on Windows 8 and 10. In the bare example below, I can Ctrl-C to exit the loop. When I press Enter again, the exception at the bottom appears.
try:
while True:
input("? ")
except:
pass
>>>
>>> try:
... while True:
... input("? ")
... except:
... pass
...
? asdf
'asdf'
? qqwer
'qqwer'
? >>>
File "<stdin>", line 0
^
SyntaxError: decoding with 'cp437' codec failed (KeyboardInterrupt: )
>>> |
|
Date |
User |
Action |
Args |
2015-12-09 03:19:39 | troyhirni | set | recipients:
+ troyhirni, vstinner, tim.golden, eryksun, Drekin, abarry |
2015-12-09 03:19:39 | troyhirni | set | messageid: <1449631179.89.0.545645136951.issue18597@psf.upfronthosting.co.za> |
2015-12-09 03:19:39 | troyhirni | link | issue18597 messages |
2015-12-09 03:19:38 | troyhirni | create | |
|