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 barry
Recipients alexandre.vassalotti, barry, eli.bendersky, ethan.furman, larry, pitrou, serhiy.storchaka
Date 2014-02-17.15:27:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <20140217102714.6d1a8c8a@anarchist.wooz.org>
In-reply-to <1392620636.86.0.161132453218.issue20653@psf.upfronthosting.co.za>
Content
On Feb 17, 2014, at 07:03 AM, Serhiy Storchaka wrote:

>
>Currently enums are pickled by values. It means that if the value of enum is
>platform depending, pickling one enum you can unpickle other enum on other
>platform.

It's probably a good idea to pickle by name by default, in order to support
the stdlib use case.  Please just be sure to preserve the ability for user
code to pickle by value via subclassing.
History
Date User Action Args
2014-02-17 15:27:09barrysetrecipients: + barry, pitrou, larry, alexandre.vassalotti, eli.bendersky, ethan.furman, serhiy.storchaka
2014-02-17 15:27:09barrylinkissue20653 messages
2014-02-17 15:27:09barrycreate