A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2013-April/125587.html below:

[Python-Dev] PEP 435 -- Adding an Enum type to the Python standard library

[Python-Dev] PEP 435 -- Adding an Enum type to the Python standard library [Python-Dev] PEP 435 -- Adding an Enum type to the Python standard libraryGreg greg.ewing at canterbury.ac.nz
Fri Apr 26 05:19:32 CEST 2013
On 26/04/2013 3:06 p.m., Glenn Linderman wrote:
> So what I'm hearing is that enumerations need to be a language feature,
> rather than a module:
>
> Can't combine Enum and EnumItem
> Can't import into locals
>
> The compiler could do those things, though.

Maybe we've found a use case for the recently advertised
macro system?

("One, two, five..." runs for cover...)

-- 
Greg

More information about the Python-Dev mailing list

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