Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

It would be inconvenient to require adding Py_VISIT(Py_TYPE(self)) in all 
tp_visit implementations of heap allocated types (including third-party 
extensions). Since tp_visit is GC specific thing, I think it wold be more 
convenient make a special case for object types.

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue40217>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to