Using (deep)copy in cython

If you want to be able to properly use copy or deepcopy in cython (without getting a segfault), you have to implement the pickle protocol for the class you want to (deep)copy.

via: http://stackoverflow.com/questions/7666873/cython-and-deepcopy-woes-with-referenced-methods-functions-any-alternative-id

Tuesday, October 20th, 2015 Uncategorized

Leave a Reply

*