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 ncoghlan
Recipients ncoghlan, nedbat, pitrou, serhiy.storchaka
Date 2012年05月15日.09:51:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1337075467.81.0.483008987076.issue14803@psf.upfronthosting.co.za>
In-reply-to
Content
Actually, there's another use case for you:
export PYTHONRUNFIRST="import faulthandler; faulthandler.enable()"
application.py
All subprocesses launched by the application will now have faulthandler enabled, *without* modifying the application. Doing this in a shell session means that faulthandler will be enabled for all Python processes you launch.
Obviously, care would need to be taken to ensure PYTHONRUNFIRST is ignored for setuid scripts (and it would respect -E as with any other environment variable).
History
Date User Action Args
2012年05月15日 09:51:07ncoghlansetrecipients: + ncoghlan, pitrou, nedbat, serhiy.storchaka
2012年05月15日 09:51:07ncoghlansetmessageid: <1337075467.81.0.483008987076.issue14803@psf.upfronthosting.co.za>
2012年05月15日 09:51:07ncoghlanlinkissue14803 messages
2012年05月15日 09:51:07ncoghlancreate

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