On Tue, 18 Feb 2014 10:01:42 -0800 Ethan Furman <et...@stoneleaf.us> wrote: > > I guess the question is which is more important? Identity comparison or this > (probably) rare use-case? If we stick > with identity I'm not aware of any work-around for pickling enum members that > are aliases on one system, but distinct on > another.
I don't think identity comparison is important. Enum values are supposed to act like values, not full-blown objects. OTOH, the "pickled aliases may end up different on other systems" issue is sufficiently fringy that we may simply paper over it. Regards Antoine. _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com