]> granicus.if.org Git - python/commit
Issue #3137: Don't ignore errors at startup, especially a keyboard interrupt
authorVictor Stinner <victor.stinner@haypocalc.com>
Wed, 10 Mar 2010 22:30:19 +0000 (22:30 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Wed, 10 Mar 2010 22:30:19 +0000 (22:30 +0000)
commit6664426d7cdb63b88d973a731cc442ecba10047a
tree7c809077569e93086eb42e1e29eea8fb5c6eb582
parente9e07bf5c988bdfe4158d3ac14b25312430f1bd0
Issue #3137: Don't ignore errors at startup, especially a keyboard interrupt
(SIGINT). If an error occurs while importing the site module, the error is
printed and Python exits. Initialize the GIL before importing the site
module.
Lib/site.py
Misc/NEWS
Modules/main.c
Parser/tokenizer.c
Python/import.c
Python/pythonrun.c