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 Eric Cousineau
Recipients Eric Cousineau, pablogsal, pitrou, vstinner
Date 2020-04-10.00:16:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1586477779.89.0.509798896945.issue40240@roundup.psfhosted.org>
In-reply-to
Content
Aye. Using a workaround for now ("leak" the object by incrementing the refcount on first resurrection):
https://github.com/RobotLocomotion/pybind11/pull/39

I may try Antoine's suggestion later on, but will definitely reformulate this to use the public API version of `gc.is_finalized()` when it comes about.

Thanks!
History
Date User Action Args
2020-04-10 00:16:19Eric Cousineausetrecipients: + Eric Cousineau, pitrou, vstinner, pablogsal
2020-04-10 00:16:19Eric Cousineausetmessageid: <1586477779.89.0.509798896945.issue40240@roundup.psfhosted.org>
2020-04-10 00:16:19Eric Cousineaulinkissue40240 messages
2020-04-10 00:16:19Eric Cousineaucreate