Home  |  Linux  | Mysql  | PHP  | XML
From:Sisyphus Date:Tue Sep 30 01:08:49 2008
Subject:Re: Inline::Python fixes for segfaults and memory leaks.
----- Original Message ----- 
From: "Stefan Seifert" <nine@detonation.org>
.
.
> Didn't succeed in finding Neil, so I now got co-maintainership of
> Inline::Python and try to keep the module up-to-date.

Excellent!! I don't think Neil will mind at all.

> A little question for those with more experience in these matters:
> Python objects that get passed into perl space are wrapped in
> Inline::Python::Object objects. These have a DESTROY method that REFDECs 
> the
> contained Python object, which is just as it should be. But additionally
> these objects have a magic mg_virtual->svt_free method which does the 
> same.
> Clearly one of the two has to go, but which one?

I don't know the answer - perhaps someone else on this list does.
If not, try asking on the XS mailing list ( 
http://lists.cpan.org/showlist.cgi?name=perl-xs ), or at perlmonks - where 
you can ask your question at 
http://www.perlmonks.org/index.pl?node=Seekers%20of%20Perl%20Wisdom (scroll 
down to the bottom of the page), and then monitor the thread (and make 
additional replies) at http://www.perlmonks.org/index.pl?node=Newest%20Nodes

Cheers,
Rob 

Navigate in group perl.inline at sever nntp.perl.org
Previous Next




  
© No Copyright
You are free to use Anything
Site Maintained by PHP Developer
Powered By PHP Consultants