[Cython] Cython creates non-pickleable classes

2016-01-12 Thread Serhiy Storchaka
Sorry, I'm not very familiar with Cython, but it looks to me that Cython creates extension classes that can't be correctly copied and unpickled. Since default __reduce_ex__ implementation knows nothing about Cython class structure, it's result doesn't contain the state of the object. The object

Re: [Cython] Cython creates non-pickleable classes

2016-01-12 Thread Stefan Behnel
Hi Serhiy! Serhiy Storchaka schrieb am 11.01.2016 um 21:32: > Sorry, I'm not very familiar with Cython, but it looks to me that Cython > creates extension classes that can't be correctly copied and unpickled. > Since default __reduce_ex__ implementation knows nothing about Cython class > structure