New submission from Ethan Furman: Python 3.4.0a1+ (default:33727fbb4668+, Aug 31 2013, 12:34:55) [GCC 4.7.3] on linux Type "help", "copyright", "credits" or "license" for more information. --> import enum --> class Test(enum.Enum): ... this = 'that' ... --> Test.this <Test.this: 'that'> --> Test.this = 9 --> Test.this 9
I'm pretty sure we don't want that. ---------- assignee: ethan.furman messages: 196945 nosy: barry, eli.bendersky, ethan.furman priority: normal severity: normal status: open title: Enum members are easily replaced type: behavior versions: Python 3.4 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18924> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com