Robert Bradshaw wrote: > On this note, I think Cython should be able to provide a default > __reduce__ that will "just work" for cdef classes, the way normal > pickling works in Python without having to think about it.
This might be possible if the class's __cinit__ can be called with no arguments and there are no C attributes without automatic conversions to and from Python types. It would be dangerous to attempt it in any other situation, I think. -- Greg _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
