summaryrefslogtreecommitdiffstats
path: root/Python/errors.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-01-19 23:43:37 (GMT)
committerGitHub <noreply@github.com>2020-01-19 23:43:37 (GMT)
commit4cdb75890abd4ee7694744d5c24248f6735b0534 (patch)
tree77d24c390632438ec6830d6c054ed4252d560cf0 /Python/errors.c
parent23793edf0d61aa98478541d0ff8f2b900ff1813d (diff)
downloadcpython-4cdb75890abd4ee7694744d5c24248f6735b0534.zip
cpython-4cdb75890abd4ee7694744d5c24248f6735b0534.tar.gz
cpython-4cdb75890abd4ee7694744d5c24248f6735b0534.tar.bz2
bpo-38400 Don't check for NULL linked list pointers in _PyObject_IsFreed (GH-16630)
Some objects like Py_None are not initialized with conventional means that prepare the circular linked list pointers, leaving them unlinked from the rest of the objects. For those objects, NULL pointers does not mean that they are freed, so we need to skip the check in those cases. (cherry picked from commit 36e33c360ed7716a2b5ab2b53210da81f8ce1295) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions