[Python-Dev] Pickling of Enums

Ethan Furman ethan at stoneleaf.us
Tue Feb 18 21:55:26 CET 2014


On 02/18/2014 11:53 AM, Serhiy Storchaka wrote:
> 18.02.14 21:20, Guido van Rossum написав(ла):
>> I'm confused. AFAICT enums are pickled by value too. What am I missing?
>> Are we confused about terminology or about behavior? (I'm just guessing
>> that the pickling happens by value because I don't see the string AF_INET.)
>
> Pickling was not even working two weeks ago. [1]

For the record, pickling worked just fine for protocols 2 and 3, and 4 didn't exist at the time.

--
~Ethan~


More information about the Python-Dev mailing list