[Python-Dev] Pickling of Enums
Ethan Furman
ethan at stoneleaf.us
Tue Feb 18 19:16:17 CET 2014
More information about the Python-Dev mailing list
Tue Feb 18 19:16:17 CET 2014
- Previous message: [Python-Dev] Pickling of Enums
- Next message: [Python-Dev] Pickling of Enums
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 02/18/2014 10:05 AM, Guido van Rossum wrote: > Hm. But there's an implementation that has made it unscathed through several betas and an RC. AFAICT that beta pickles > enums by value. And I happen to think that that is the better choice (but I don't have time to explain this gut feeling > until after 3.4 has been released). This conversation wasn't in the PEP, but as I recall we decided to go with value instead of name for json because the receiving end may not be running Python. Is having json do it one way and pickle another a problem? -- ~Ethan~
- Previous message: [Python-Dev] Pickling of Enums
- Next message: [Python-Dev] Pickling of Enums
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list