How to crash Python in 1 easy step (python 2.2.2)

Gavrie Philipson gavriep at yahoo.com
Tue Jul 15 06:17:09 EDT 2003


pwmiller1 at adelphia.net (Paul Miller) wrote in message news:<2e363c08.0307130944.4c470bc3 at posting.google.com>...
> I'm not sure if this is a python bug or a bug in an associated
> library, and I'm not even sure how to correctly report it, but here is
>   Anytime python is accepting keyboard input, whether it's with
> raw_input, or sitting on the command line waiting for the user to type
> code, you can crash python by holding ctrl+shift and then pressing
> enter.
> 
> This is on a RedHat 9.0 system running on an Athlon 600.  Basically
> everything about the system is standard except for what's been updated
> by RedHat itself.  If anyone who has the time and ability to track
> down this bug needs more information, please email me.

I'm seeing the same effect on RH9, using KDE's "konsole" terminal
emulator.
When pressing Ctrl-Shift-Enter, it actually sends the ^[OM characters
(Escape, O, M).
Manually sending the key sequence Esc-O-something also crashes Python.

Why this happens is still a good question...




More information about the Python-list mailing list