Pickling C objects
Konrad Hinsen
hinsen at cnrs-orleans.fr
Fri Jul 16 04:20:08 EDT 1999
More information about the Python-list mailing list
Fri Jul 16 04:20:08 EDT 1999
- Previous message (by thread): Pickling C objects
- Next message (by thread): Identical callback problems
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Stuart Reynolds <S.I.Reynolds at cs.bham.ac.uk> writes: > I'm writing some new Python classes with a C implementation. How do you > make a C object pickleable? Check the copyreg module. You have to provide code to create a string representation from your object and to recreate an object from a string representation, that's all. -- ------------------------------------------------------------------------------- Konrad Hinsen | E-Mail: hinsen at cnrs-orleans.fr Centre de Biophysique Moleculaire (CNRS) | Tel.: +33-2.38.25.55.69 Rue Charles Sadron | Fax: +33-2.38.63.15.17 45071 Orleans Cedex 2 | Deutsch/Esperanto/English/ France | Nederlands/Francais -------------------------------------------------------------------------------
- Previous message (by thread): Pickling C objects
- Next message (by thread): Identical callback problems
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list