[ python-Bugs-964949 ] Ctrl-C causes odd behaviour
SourceForge.net
noreply at sourceforge.net
Wed Jun 9 06:21:27 EDT 2004
Bugs item #964949, was opened at 2004-06-02 04:17
Message generated for change (Comment added) made by mrbax
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=964949&group_id=5470
Category: Windows
Group: Platform-specific
Status: Open
Resolution: None
Priority: 5
Submitted By: Michael Bax (mrbax)
Assigned to: Nobody/Anonymous (nobody)
Summary: Ctrl-C causes odd behaviour
Initial Comment:
With various versions of console Python 2.3.x under
Windows 2000, executed using the "Python (command-
line)" Start Menu shortcut, I have noticed the following
intermittent errors:
1. When pressing Ctrl-C at the prompt, Python
terminates.
2. When pressing Ctrl-C during a raw_input, Python
raises an EOFError instead of KeyboardInterrupt.
I usually cannot duplicate this behaviour by repeatedly
pressing Ctrl-C or repeating the steps that led to it.
----------------------------------------------------------------------
>Comment By: Michael Bax (mrbax)
Date: 2004-06-09 03:21
Message:
Logged In: YES
user_id=1055057
It *is* intermittent. Try entering the tutorial examples (copy
and paste) and pressing Ctrl-C at random. That works for me.
Here's another example: today I rebooted, then later clicked
on the "Python (command-line)" shortcut. I typed 1 and
pressed ENTER. I then pressed Ctrl-C.
Boom. Window disappears.
I tried again around 20 times -- it gave a KeyboardInterrupt
each time, as it should.
----------------------------------------------------------------------
Comment By: Thomas Heller (theller)
Date: 2004-06-09 02:39
Message:
Logged In: YES
user_id=11105
I cannot reproduce this behaviour, so I cannot do anything
on this.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=964949&group_id=5470
More information about the Python-bugs-list
mailing list