[Cython] Accessing C attributes from Python functions in the interpreter

Johannes Wienke languitar at semipol.de
Mon Jun 9 18:27:56 CEST 2008


Am 06/08/2008 12:57 PM schrieb Dag Sverre Seljebotn:
> Johannes Wienke wrote:
>> Am 06/08/2008 11:16 AM schrieb Dag Sverre Seljebotn:
>>> Johannes Wienke wrote:
>>>> But is there a way to convince copy to copy also the C declarations?
>>>>
>>> Google for "python copy module". The copy module docs then will state
>>> that
>>> it uses the pickling API. So see the pyrex docs for pickling and try
>>> that...
>> Thanks for that hint, but where exactly do I find something about
>> pickling in the Pyrex docs?
>>
> 
> I'm sorry, I think I've misunderstood something myself here. It looks like
> the pickling API is a generic Python feature towards extension classes,
> and not really a Cython (or Pyrex) feature as such. So the documentation
> for it can be found in the Python pickling module docs.
> 
> Also there's this thread from not long ago:
> 
> http://thread.gmane.org/gmane.comp.python.cython.devel/1896

Thank you for the help.

Johannes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://codespeak.net/pipermail/cython-dev/attachments/20080609/6cdd0d3f/attachment.pgp 


More information about the Cython-dev mailing list