Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Support for iterable __slots__ #67
I've discovered recently that Python allows
This outcome is a problem for jsonpickle because it relies on
It seems that the stdlib pickle module doesn't rely on
This behavior suggests to me that jsonpickle should also raise a similar error (rather than silently omitting the attributes, which is the current behavior).
I wish when I'd filed this ticket I had made a note of where I encountered this situation in the real world.
I've been adding getstate/setstate support. See #81
I mention this because I've been adding a bunch of unittests to verify Protocol 2 compatibility if you want to add some for this, go ahead. This seems like an opportune time to address this issue as well.
Incidentally, I'm holding of development until my current pull request is merged or I get some feedback on whether it's the right thing.