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 pitrou
Recipients pitrou, vstinner, zbysz
Date 2012-05-19.13:43:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1337434991.55.0.0911980228462.issue14854@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a patch:


$ hg di
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -356,15 +356,15 @@ Py_InitializeEx(int install_sigs)
 
     _PyImportHooks_Init();
 
-    /* initialize the faulthandler module */
-    if (_PyFaulthandler_Init())
-        Py_FatalError("Py_Initialize: can't initialize faulthandler");
-
     /* Initialize _warnings. */
     _PyWarnings_Init();
 
     import_init(interp, sysmod);
 
+    /* initialize the faulthandler module */
+    if (_PyFaulthandler_Init())
+        Py_FatalError("Py_Initialize: can't initialize faulthandler");
+
     _PyTime_Init();
 
     if (initfsencoding(interp) < 0)
History
Date User Action Args
2012-05-19 13:43:11pitrousetrecipients: + pitrou, vstinner, zbysz
2012-05-19 13:43:11pitrousetmessageid: <1337434991.55.0.0911980228462.issue14854@psf.upfronthosting.co.za>
2012-05-19 13:43:10pitroulinkissue14854 messages
2012-05-19 13:43:10pitroucreate