- does something that is just asking for trouble and that nobody in their right mind should do without expecting terrible, terrible things to happen
It makes Python run about like JavaScript or PHP. I guess that's accurate. - does something that is just asking for trouble and that nobody in their right mind should do without expecting terrible, terrible things to happen
It makes Python run about like JavaScript or PHP. I guess that's accurate.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.
If you want to go the other way, try
window.onerror = window.close;