commit | 1e73945470644202262e1ddee2b49e2708a29794 | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Mon Oct 21 11:21:35 2019 -0500 |
committer | GitHub <noreply@github.com> | Mon Oct 21 11:21:35 2019 -0500 |
tree | 5941be7bebb0c1349edfc95eac656eafa2dcf3ac | |
parent | 5bc6a7c06eda20ba131ecba6752be0506d310181 [diff] |
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.