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