commit | 6664426d7cdb63b88d973a731cc442ecba10047a | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Wed Mar 10 22:30:19 2010 +0000 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Wed Mar 10 22:30:19 2010 +0000 |
tree | 7c809077569e93086eb42e1e29eea8fb5c6eb582 | |
parent | e9e07bf5c988bdfe4158d3ac14b25312430f1bd0 [diff] |
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.