Message172238
Here are some strange behavior I see (on Linux).
Run Python in interactive mode. Press <Tab><Tab>. Message "Display all XXX possibilities? (y or n)" showed. Press <Ctrl-C>, then <n>. Prompt showed. Enter any text (or none) and press <Enter>. KeyboardInterrupt exception raised.
In Python 2.7:
Traceback (most recent call last):
File "/usr/lib/python2.7/encodings/utf_8.py", line 15, in decode
def decode(input, errors='strict'):
KeyboardInterrupt
In Python 3.x:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
KeyboardInterrupt
In Python 2.6 exception not raised.
It does not lead to any detrimental consequences (entered text saved in history and can be restored), but it looks very strange. Possibly for this must be some bug. |
|
Date |
User |
Action |
Args |
2012-10-06 19:32:42 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka |
2012-10-06 19:32:42 | serhiy.storchaka | set | messageid: <1349551962.43.0.949416732292.issue16151@psf.upfronthosting.co.za> |
2012-10-06 19:32:42 | serhiy.storchaka | link | issue16151 messages |
2012-10-06 19:32:41 | serhiy.storchaka | create | |
|