Message210533
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. |
|
Date |
User |
Action |
Args |
2014-02-07 19:26:15 | ethan.furman | set | recipients:
+ ethan.furman, barry, pitrou, alexandre.vassalotti, python-dev, serhiy.storchaka |
2014-02-07 19:26:15 | ethan.furman | set | messageid: <1391801175.38.0.955167848172.issue20534@psf.upfronthosting.co.za> |
2014-02-07 19:26:15 | ethan.furman | link | issue20534 messages |
2014-02-07 19:26:15 | ethan.furman | create | |
|