diff options
author | Tim Peters <tim.peters@gmail.com> | 2019-10-21 11:21:35 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-21 11:21:35 -0500 |
commit | 1e73945470644202262e1ddee2b49e2708a29794 (patch) | |
tree | 5941be7bebb0c1349edfc95eac656eafa2dcf3ac /Lib/pathlib.py | |
parent | 5bc6a7c06eda20ba131ecba6752be0506d310181 (diff) | |
download | cpython-git-1e73945470644202262e1ddee2b49e2708a29794.tar.gz |
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 'Lib/pathlib.py')
0 files changed, 0 insertions, 0 deletions