➜

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tim.peters
Recipients corona10, pablogsal, shihai1991, tim.peters, vstinner
Date 2020-04-07.17:22:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
If object A owns a strong reference to object B, and A participates in cyclic gc, and B may be part of a cycle, then it's necessary and sufficient that A's type's tp_traverse implementation invoke Py_VISIT() passing A's pointer to B.

It would be a Really Bad Idea to add special cases to the gc module to spare some specific type(s) from following that (currently) utterly uniform rule.
History
Date User Action Args
2020-04-07 17:22:39tim.peterssetrecipients: + tim.peters, vstinner, corona10, pablogsal, shihai1991
2020-04-07 17:22:39tim.peterssetmessageid: <[email protected]>
2020-04-07 17:22:39tim.peterslinkissue40217 messages
2020-04-07 17:22:39tim.peterscreate