[C++-sig] object lifecycle

David Abrahams david.abrahams at rcn.com
Wed Jul 3 01:44:04 CEST 2002


Unfortunately, fixing this bug took all day, because of the wonderful
codegen bugs in VC6 and 7. To their credit, the alpha compiler I've been
testing from Microsoft is wonderful, and doesn't have these problems.

-Dave

----- Original Message -----
From: "Dave Hawkes" <daveh at cadlink.com>
Newsgroups: gmane.comp.python.c++
To: <c++-sig at python.org>
Sent: Tuesday, July 02, 2002 1:31 PM
Subject: [C++-sig] object lifecycle


> I was just reviewing some of the recent changes to the structure of
object
> and noticed that it now holds a PyObject* directly, rather than a
handle<>.
> However I'm not sure how an object gets cleaned up after it is destroyed
as
> no destructor is defined. I'm sure I must be missing something obvious
here,
> but I can't see how the reference count of the controlled PyObject* is
> managed?
>
> Thanks
> Dave Hawkes
>
>
>
>
>
>
>
> _______________________________________________
> C++-sig mailing list
> C++-sig at python.org
> http://mail.python.org/mailman/listinfo/c++-sig






More information about the Cplusplus-sig mailing list