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.

Author serhiy.storchaka
Recipients serhiy.storchaka
Date 2012-10-06.19:32:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1349551962.43.0.949416732292.issue16151@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2012-10-06 19:32:42serhiy.storchakasetrecipients: + serhiy.storchaka
2012-10-06 19:32:42serhiy.storchakasetmessageid: <1349551962.43.0.949416732292.issue16151@psf.upfronthosting.co.za>
2012-10-06 19:32:42serhiy.storchakalinkissue16151 messages
2012-10-06 19:32:41serhiy.storchakacreate