telmich <nico-bugs.python....@schottelius.org> added the comment: I think setting up SIGINT after importing site is a good solution: It will kill the program as expected and as soon as the user takes over control, she can decide what todo.
In which stage/part is the python interpreter when I guess/hope that the race condition between initsigs(); would have been moved downwards? I'm asking, because if 'import site' is done, the maximum output seen that could occur is KeyboardInterrupt if there is no code around there. Which looks way more sane that what I see currently. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14228> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com