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 ronaldoussoren
Recipients Victor Milovanov, pablogsal, ronaldoussoren, shihai1991
Date 2021-11-12.10:45:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1636713952.34.0.762712773501.issue45758@roundup.psfhosted.org>
In-reply-to
Content
IMHO your code is buggy, as Hai Shi also indicates.

After Py_Finalize all objects in all (sub-)interpreters are deallocated unless there are bugs in the interpreter. Because of this "..., item should still be alive" in your sample code is incorrect: the reference should be considered to be invalid and cannot be used again.
History
Date User Action Args
2021-11-12 10:45:52ronaldoussorensetrecipients: + ronaldoussoren, pablogsal, shihai1991, Victor Milovanov
2021-11-12 10:45:52ronaldoussorensetmessageid: <1636713952.34.0.762712773501.issue45758@roundup.psfhosted.org>
2021-11-12 10:45:52ronaldoussorenlinkissue45758 messages
2021-11-12 10:45:52ronaldoussorencreate