Message196949
Time for your friendly devil's advocate... We're using and loving this language:
>>> class Foo:
... bar = 2
...
>>> f = Foo()
>>> f.bar
2
>>> f.bar = 42
>>> f.bar
42
>>>
So let's stop trying to make enums even more alien. This is a non-issue in Python.
[Barry, how come your name in the tracker is linked to your website? me wants...] |
|
Date |
User |
Action |
Args |
2013-09-04 20:18:37 | eli.bendersky | set | recipients:
+ eli.bendersky, barry, ethan.furman |
2013-09-04 20:18:37 | eli.bendersky | set | messageid: <1378325917.86.0.199419869209.issue18924@psf.upfronthosting.co.za> |
2013-09-04 20:18:37 | eli.bendersky | link | issue18924 messages |
2013-09-04 20:18:37 | eli.bendersky | create | |
|