diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2013-11-05 15:10:19 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2013-11-05 15:10:19 +0100 |
commit | 357f5155dc74b691a683a571b1316ce8473c40d0 (patch) | |
tree | 9532e72c7c039e21f9b367663414222ec9b4c83a /Python/compile.c | |
parent | 85a12a8bebd20e86fa3931940d7e317fa392cfb8 (diff) | |
download | cpython-git-357f5155dc74b691a683a571b1316ce8473c40d0.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