commit | 357f5155dc74b691a683a571b1316ce8473c40d0 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Tue Nov 05 15:10:19 2013 +0100 |
committer | Victor Stinner <victor.stinner@gmail.com> | Tue Nov 05 15:10:19 2013 +0100 |
tree | 9532e72c7c039e21f9b367663414222ec9b4c83a | |
parent | 85a12a8bebd20e86fa3931940d7e317fa392cfb8 [diff] |
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())