[C++-sig] Re: Re: Re: cPickle in extension module

Ralf W. Grosse-Kunstleve rwgk at yahoo.com
Tue Jun 25 16:53:36 CEST 2002


--- Norbert Riedlin <nr at netatec.de> wrote:
> thank you for your help, now all memory leaks have vanished even in version
> 1.22. One last question: "... replace all your PyObject* by ref...."
> excludes overloads of to_python, right? In my original code (not in the
> example above) there are quite a few places I need the overloads.

Yes, in V1 to_python has to return a raw PyObject*.
Ralf
P.S.: In V2 you will not need to trade raw PyObject* anymore unless you use the
Python API directly.


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com





More information about the Cplusplus-sig mailing list