[issue20534] Enum tests fail with pickle protocol 4
Ethan Furman
report at bugs.python.org
Fri Feb 7 20:26:15 CET 2014
Ethan Furman added the comment:
Okay, I went with __reduce__ since we don't ever use the pickle protocol information.
I added a test for class-nested Enums since protocol 4 supports it.
I left the test for test_subclasses_without_getnewargs alone as the point of that test is to make sure that _make_class_unpicklable is working properly, not to see if we can somehow get any of it to pickle.
Running all tests now.
----------
Added file: http://bugs.python.org/file33968/issue20534.stoneleaf.02.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20534>
_______________________________________
More information about the Python-bugs-list
mailing list