]> granicus.if.org Git - python/commit
Fix initialization of the faulthandler module
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 31 Jul 2012 00:55:49 +0000 (02:55 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 31 Jul 2012 00:55:49 +0000 (02:55 +0200)
commitd5698cbbcade36d49bb32e797499d1190c38558a
tree4c743f1ff57018f73dc118ebb08b97edbd83b260
parent60622ed12aed572573a95b88428f654e88b8e470
Fix initialization of the faulthandler module

faulthandler requires the importlib if "-X faulthandler" option is present on
the command line, so initialize faulthandler after importlib.

Add also an unit test.
Lib/test/test_faulthandler.py
Python/pythonrun.c