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 <rep...@bugs.python.org>
<http://bugs.python.org/issue20534>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to