Kristján Valur Jónsson <[EMAIL PROTECTED]> added the comment: I turns out that for SIGINT, windows creates a new thread. So, the assumption that signals are delivered on the main thread are not valid in general. Therefore, we must initialize the lock pending_lock independently of PyEval_InitThreads(), and also cannot assume that signals are deliverd on the main thread.
Added file: http://bugs.python.org/file12035/pendingalls.patch _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4293> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com