Serhiy Storchaka added the comment:
Default __reduce_ex__ and __reduce__ implementations call copy_reg._reduce_ex.
cPickle.dumps({}) works because __reduce_ex__ is not called, dict is supported
by pickle directly.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue25698>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com