[martin@v.loewis.de] > I'd suggest a tp_is_immutable predicate. If a container is immutable > and non-cyclic, it can be untracked. A container is non-cyclic if all > contained objects are either non-gc, or untracked. And none of the contained objects are NULL (else the scheme doesn't even work for tuples). How do you know which other objects it contains? Calling tp_traverse and seeing whether that ever calls the passed-in visit function doesn't work (see the already-repeated discussion about this for tuples).
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4