[Python-Dev] Idea: reduce GC threshold in development mode (-X dev)

Yury Selivanov yselivanov.ml at gmail.com
Fri Jun 8 12:12:57 EDT 2018


On Fri, Jun 8, 2018 at 9:24 AM Ronald Oussoren <ronaldoussoren at mac.com> wrote:
[..]
> Wouldn’t it be enough to visit just the the newly tracked object in PyObject_GC_Track with a visitor function that does something minimal to verify that the object value is sane, for example by checking PyType_Ready(Py_TYPE(op)).

+1.

Yury


More information about the Python-Dev mailing list