This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eli.bendersky
Recipients barry, eli.bendersky, ethan.furman, larry, serhiy.storchaka
Date 2014-02-21.05:14:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1392959660.59.0.0772046860768.issue20679@psf.upfronthosting.co.za>
In-reply-to
Content
The discussion in #20653 is ongoing but I have to say I don't feel confident about this issue at all.

If anything, I'd prefer to explicitly mark "advanced pickling support" for enums as provisional in 3.4 - this is a simple documentation fix Larry should have no qualms accepting into the RC. We can say that unless folks do funky things, pickling enums should work. But as for support for defining all kinds of strange custom pickling behaviors, this is not supported at this point.

I think we all need some time to think about the interaction of enums with pickling and properly document all the scenarios we want, and - more importantly - don't want to support.

Enum internals are too complex. Interaction with pickles is even trickier. We don't have to make these decisions in a rush right now.

In short, I'm -1 on cherry picking, with +1 on putting provisional disclaimers in strategic places within the enum doc to save us from backwards compatibility worries in this domain for the upcoming cycle.
History
Date User Action Args
2014-02-21 05:14:20eli.benderskysetrecipients: + eli.bendersky, barry, larry, ethan.furman, serhiy.storchaka
2014-02-21 05:14:20eli.benderskysetmessageid: <1392959660.59.0.0772046860768.issue20679@psf.upfronthosting.co.za>
2014-02-21 05:14:20eli.benderskylinkissue20679 messages
2014-02-21 05:14:20eli.benderskycreate