Serhiy Storchaka added the comment: An alternative way is to expose a default state as object.__getstate__(). It is more efficient since it is implemented in C. Following patch implements this approach.
---------- Added file: http://bugs.python.org/file43716/object_getstate.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26579> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com