Staging
v0.5.1
https://github.com/python/cpython
Revision 85b34edd8b575b918490afbcb0db6f791874dbdd authored by Antoine Pitrou on 26 June 2017, 20:07:20 UTC, committed by GitHub on 26 June 2017, 20:07:20 UTC
* bpo-30765: Avoid blocking when PyThread_acquire_lock() is asked not to lock

This is especially important if PyThread_acquire_lock() is called reentrantly
(for example from a signal handler).

* Update 2017-06-26-14-29-50.bpo-30765.Q5iBmf.rst

* Avoid core logic when taking the mutex failed.
(cherry picked from commit f84ac420c2af98339678744953869cad3c253281)
1 parent 849b062
History
Tip revision: 85b34edd8b575b918490afbcb0db6f791874dbdd authored by Antoine Pitrou on 26 June 2017, 20:07:20 UTC
[3.5] bpo-30765: Avoid blocking when PyThread_acquire_lock() is asked not to (GH-2403) (#2419)
Tip revision: 85b34ed
File Mode Size
Python.asdl -rw-r--r-- 4.6 KB
acceler.c -rw-r--r-- 3.3 KB
asdl.py -rw-r--r-- 12.6 KB
asdl_c.py -rwxr-xr-x 43.3 KB
bitset.c -rw-r--r-- 1.0 KB
firstsets.c -rw-r--r-- 2.8 KB
grammar.c -rw-r--r-- 6.8 KB
grammar1.c -rw-r--r-- 1.3 KB
listnode.c -rw-r--r-- 1.2 KB
metagrammar.c -rw-r--r-- 2.4 KB
myreadline.c -rw-r--r-- 6.1 KB
node.c -rw-r--r-- 4.4 KB
parser.c -rw-r--r-- 11.6 KB
parser.h -rw-r--r-- 1.0 KB
parsetok.c -rw-r--r-- 10.5 KB
parsetok_pgen.c -rw-r--r-- 35 bytes
pgen.c -rw-r--r-- 17.5 KB
pgenmain.c -rw-r--r-- 3.8 KB
printgrammar.c -rw-r--r-- 2.9 KB
tokenizer.c -rw-r--r-- 52.0 KB
tokenizer.h -rw-r--r-- 3.8 KB
tokenizer_pgen.c -rw-r--r-- 36 bytes

back to top