News for hackers. Stuff that matters.
Re:FuckIt.py - The Python Error Steamroller by mikle on Friday December 06, 2013 @01:07AM (#6859669)
Some people use Python as JS or PHP, why not also make it behave like that?

In reality, even if this is satire (which I believe it is) I'm sure if enough people will know about it, at least one of them will use it seriously.

Re:FuckIt.py - The Python Error Steamroller by ot on Friday December 06, 2013 @03:55AM (#6860156)
> Some people use Python as JS or PHP, why not also make it behave like that?

If you want to go the other way, try

    window.onerror = window.close;