summaryrefslogtreecommitdiff
path: root/Python/_warnings.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2019-10-08 00:09:31 +0200
committerGitHub <noreply@github.com>2019-10-08 00:09:31 +0200
commit1b1845569539db5c1a6948a5d32daea381f1e35f (patch)
tree9e9b867120a68e7f1f2c1f270dd102a6297adca6 /Python/_warnings.c
parent7775349895088a7ae68cecf0c74cf817f15e2c74 (diff)
downloadcpython-git-1b1845569539db5c1a6948a5d32daea381f1e35f.tar.gz
bpo-38392: PyObject_GC_Track() validates object in debug mode (GH-16615)
In debug mode, PyObject_GC_Track() now calls tp_traverse() of the object type to ensure that the object is valid: test that objects visited by tp_traverse() are valid. Fix pyexpat.c: only track the parser in the GC once the parser is fully initialized.
Diffstat (limited to 'Python/_warnings.c')
0 files changed, 0 insertions, 0 deletions