summaryrefslogtreecommitdiffstats
path: root/Python/dynload_stub.c
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2019-10-21 16:21:35 (GMT)
committerGitHub <noreply@github.com>2019-10-21 16:21:35 (GMT)
commit1e73945470644202262e1ddee2b49e2708a29794 (patch)
tree5941be7bebb0c1349edfc95eac656eafa2dcf3ac /Python/dynload_stub.c
parent5bc6a7c06eda20ba131ecba6752be0506d310181 (diff)
downloadcpython-1e73945470644202262e1ddee2b49e2708a29794.zip
cpython-1e73945470644202262e1ddee2b49e2708a29794.tar.gz
cpython-1e73945470644202262e1ddee2b49e2708a29794.tar.bz2
visit_reachable: replace release-mode test with an assert. (GH-16866)
It should be impossible for an untracked object to have the collecting flag set. Back when state was stored in gc_refs, it obviously was impossible (gc_refs couldn't possibly have a positive & negative value simultaneously). While the _implementation_ of "state" has gotten much more complicated, it's still _logically_ just as impossible.
Diffstat (limited to 'Python/dynload_stub.c')
0 files changed, 0 insertions, 0 deletions