Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bpo-38400 Don't check for NULL linked list pointers in _PyObject_IsFr…
…eed (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.
- Loading branch information