What's the public API alternative to _PyObject_GC_IS_TRACKED()?

Dieter Maurer dieter at handshake.de
Tue Dec 28 18:03:53 EST 2021


Marco Sulla wrote at 2021-12-27 19:30 +0100:
>I need it since I'm developing an immutable dict. And in dict that
>function is used.

Why do you not derive from `dict` and override its mutating methods
(to raise a type error after initialization is complete)?


More information about the Python-list mailing list