STINNER Victor <vstin...@python.org> added the comment:
> tp_traverse is optional, so we should not add this assertion. It is required by types implementing the GC protocol. This assumption is non-obvious and was not documented. The documentation was completed in bpo-44263 by commit 8b55bc3f93a655bc803bff79725d5fe3f124e2f0. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue1662> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com