Message115139
| Author |
Dude-X |
| Recipients |
Dude-X, amaury.forgeotdarc, christian.heimes, r.david.murray, ronaldoussoren |
| Date |
2010年08月27日.22:58:29 |
| SpamBayes Score |
9.555544e-07 |
| Marked as misclassified |
No |
| Message-id |
<1282949912.04.0.681658407586.issue1677@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I tested this on a real Windows 7 machine (64 bit, Ultimate)
I open the command prompt, and I have the latest Pythons installed,
Python 2.6.6, Python 2.7 final, and Python 3.1.2
If I hold down Ctrl-C, it will eventually exit the interpreter.
Though it's not normal to hold down Ctrl-C, in practice that means pressing Ctrl-C
to cancel a currently running script may just exit the interpreter.
Python 3.1 seems really terrible in this regard where sometimes a single Ctrl-C will exit the interpreter.
I have seen this issue fixed in Python 2.5.2 on Windows. It would never exit the interpreter no matter how long I pressed Ctrl-C. I don't see this issue in Linux. I don't have a Mac to test, but I'd like Mac users to test the signal handling in their terminals. |
|