"Niall Douglas" <s_sourceforge@xxxxxxxxxxx> writes:
> The solution is to upcall any child deletions so BPL can unhook the
> relevent python object from its C++ sibling.
You could simplify that system a lot by using shared_ptr to hold the
children in C++, and building a new smart pointer around a core
weak_ptr, that you use as the HeldType in your Python classes.
C++-sig mailing list