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 vstinner
Recipients Mark.Shannon, christian.heimes, jdemeyer, lukasz.langa, pablogsal, petr.viktorin, pitrou, vstinner
Date 2019-09-02.21:53:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1567461219.55.0.632287086333.issue38006@roundup.psfhosted.org>
In-reply-to
Content
> * A and CB are seen as unreachable by the GC

Oh, that's not correct:

* Only CB is seen as unreachable by the GC
* The GC "clears" CB which makes CB inconsistent (tp_clear)
* A is deleted indirectly
* Deleting A calls CB through the weak reference to A

The "A is deleted indirectly" step is also complex...
History
Date User Action Args
2019-09-02 21:53:39vstinnersetrecipients: + vstinner, pitrou, christian.heimes, petr.viktorin, lukasz.langa, Mark.Shannon, jdemeyer, pablogsal
2019-09-02 21:53:39vstinnersetmessageid: <1567461219.55.0.632287086333.issue38006@roundup.psfhosted.org>
2019-09-02 21:53:39vstinnerlinkissue38006 messages
2019-09-02 21:53:39vstinnercreate