homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author amaury.forgeotdarc
Recipients amaury.forgeotdarc, barry, christian.heimes, loewis, vstinner
Date 2008年11月07日.09:12:14
SpamBayes Score 0.0005298022
Marked as misclassified No
Message-id <1226049136.35.0.268993123807.issue4236@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2008年11月07日 09:12:16amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, loewis, barry, vstinner, christian.heimes
2008年11月07日 09:12:16amaury.forgeotdarcsetmessageid: <1226049136.35.0.268993123807.issue4236@psf.upfronthosting.co.za>
2008年11月07日 09:12:15amaury.forgeotdarclinkissue4236 messages
2008年11月07日 09:12:14amaury.forgeotdarccreate

AltStyle によって変換されたページ (->オリジナル) /