ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> cpp-sig
cpp-sig
Re: [C++-sig] Re: Memory leak when using return_internal_reference !?
by gideon may other posts by this author
Jun 4 2003 9:50PM messages near this date
[C++-sig] Re: Memory leak when using return_internal_reference !? | [C++-sig] Compile times using Boost::python.
Thanks for the fix!

--On Wednesday, June 04, 2003 4:48 PM -0400 David Abrahams 
<dave@[...].com>  wrote:

>  gideon may <gideon@[...].org> writes:

<snip> 

> 
>  Perhaps... a bug in Boost.Python??!
> 
>  Fixed in CVS, thanks for reporting it.  Extra bonus points if you can
>  supply a patch to the test that will detect this bug!

Thanks, will try it immediately. I'm afraid I have to let the bonus
points pass, since there is no way to track if objects have really been
deleted; except if you define COUNT_ALLOCS while building python :(

> 
> > I'm using return_internal_reference quite extensively and couldn't live
> > without it :-)
> 
>  Doubtless that's true.  I can't believe I never saw this one before.
>  That's what you get for not having tests :(

Hmm, still hard to test this one, the garbage collector reports all
objects deleted, even if the weak references are not.

ciao,

gideon


_______________________________________________
C++-sig mailing list
C++-sig@[...].org
http://mail.python.org/mailman/listinfo/c++-sig
Thread:
gideon may
David Abrahams
David Abrahams
gideon may

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved