Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: Christian, The initial example only works in interactive mode. To make your script crash, you have to set __builtins__._ = Crasher()
There are several other places where Crasher() will crash on shutdown: sys.argv.insert(0, Crasher()) sys.ps1 = Crasher() sys.last_type = Crasher() sys.path_hooks.append(Crasher()) sys.path_importer_cache[''] = Crasher() But sys.meta_path.append(Crasher()) does not crash. _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4236> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com