diff options
author | Pablo Galindo <Pablogsal@gmail.com> | 2019-10-08 00:43:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-08 00:43:14 +0100 |
commit | 36e33c360ed7716a2b5ab2b53210da81f8ce1295 (patch) | |
tree | 69b16a8a625c5915dd0c730b14b99d1455046de0 /Python/_warnings.c | |
parent | 1b1845569539db5c1a6948a5d32daea381f1e35f (diff) | |
download | cpython-git-36e33c360ed7716a2b5ab2b53210da81f8ce1295.tar.gz |
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.
Diffstat (limited to 'Python/_warnings.c')
0 files changed, 0 insertions, 0 deletions