Eric Cousineau <eric.cousineau@tri.global> added the comment:

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!

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue40240>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to