[Cython] Accessing C attributes from Python functions in the interpreter
Dag Sverre Seljebotn
dagss at student.matnat.uio.no
Sun Jun 8 12:57:44 CEST 2008
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
Dag Sverre
More information about the Cython-dev
mailing list