waiting on an event blocks all signals

alan alangrow at gmail.com
Sat May 17 15:32:44 EDT 2008


This ignores CTRL-C on every platform I've tested:

python -c "import threading; threading.Event().wait()"
^C^C^C^C

It looks to me like all signals are masked before entering wait(). Can
someone familiar with the internals explain and/or justify this
behavior? Thanks,

-Alan



More information about the Python-list mailing list