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, georg.brandl, jwp, mutkuk, pitrou
Date 2010-10-01.22:00:39
SpamBayes Score 0.00016593584
Marked as misclassified No
Message-id <1285970441.7.0.0556028511011.issue1195571@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a new patch; I lifted the pre-Py_Initialize() restriction, because it seems to me that a wxPython application, for example, could use it.
A wxPython application is not embedded, but it already often redirects stdout and even installs a segfault handler.

I also made Py_SetFatalHook() return the previous hook; it could be useful to set a function temporarily, even if this is not thread safe.
History
Date User Action Args
2010-10-01 22:00:41amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, georg.brandl, pitrou, mutkuk, jwp
2010-10-01 22:00:41amaury.forgeotdarcsetmessageid: <1285970441.7.0.0556028511011.issue1195571@psf.upfronthosting.co.za>
2010-10-01 22:00:40amaury.forgeotdarclinkissue1195571 messages
2010-10-01 22:00:39amaury.forgeotdarccreate