summaryrefslogtreecommitdiff
path: root/Python/compile.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2013-11-05 15:10:19 +0100
committerVictor Stinner <victor.stinner@gmail.com>2013-11-05 15:10:19 +0100
commit04790f7d371ea56a10f49123210d42fee5f9c06b (patch)
tree01addf66ca85209c5b1df26f051d51d85ac95d96 /Python/compile.c
parentcf241142eb55372a12deed0b80b4935b80ee7776 (diff)
downloadcpython-04790f7d371ea56a10f49123210d42fee5f9c06b.tar.gz
Issue #19437: Fix _threading.RLock constructor (rlock_new), call
Py_DECREF(self) if PyThread_allocate_lock() failed instead of calling directly type->tp_free(self), to keep the chained list of objects consistent when Python is compiled in debug mode fails, don't consume the row (restore it) and fail immediatly (don't call pysqlite_step())
Diffstat (limited to 'Python/compile.c')
0 files changed, 0 insertions, 0 deletions