On 02/23/2013 09:46 AM, Nick Coghlan wrote: > Many other existing libraries would be in the same boat - backwards > compatibility would be an insurmountable barrier to using enums, but > they *could* use named values. I like the idea of named values, but to be clear about enums: if they are int-based (like True and False are) and don't mess with the math operations (like True and False don't) then we could use them with impunity: True + False = 1 os.SEEK_CUR * 3 = 3 (assuming, of course, that os.SEEK_CUR == 1) -- ~Ethan~ P.S. Has the irrevokable decision been made that enums will *not* be int based? If so, I'll stop bringing up this point -- I'm starting to bore myself with it.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4