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

Sybren Stuvel sybrenUSE at
Tue Jul 15 13:29:23 CEST 2003

Paul Miller enlightened us with:
> 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.

sybren at sybren:sybren$ python
Python 2.2.3+ (#1, Jul  5 2003, 11:04:18) 
[GCC 3.3.1 20030626 (Debian prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.stdin.readline()


As you can see, my python handles it just fine. I'm running Debian
Unstable on my box. Guess it isn't so unstable after all ;-) I started
python from an xterm managed by Fluxbox.

The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself? 

More information about the Python-list mailing list