[Python-Dev] pthread sem PyThread_acquire_lock

Florian Mayer flormayer at aim.com
Sun Jun 28 00:50:18 CEST 2009

Martin v. Löwis wrote:
 > Can you please explain what you mean by "swallowing"?
The signals don't get through when acquiring the lock.
 > What is the sequence of actions triggering the case you are talking
 > about, what happens, and what do you expect to happen instead?
Create a Lock object, call .acquire and try to press Ctrl-C, the 
keyboardinterrupt is swallowed
 > Also, how would you fix this (in principle, not what the specific
 > patch would look like)?
Remove the loop that explicitly does this in a new function and use that 
one in threadmodule.c for lock.acquire.
 > Regards,
 > Martin
Best regards,

PS: Sorry for sending this message twice.

More information about the Python-Dev mailing list