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-February/124256.html below:

[Python-Dev] [Python-checkins] peps: Pre-alpha draft for PEP 435 (enum). The name is not important at the moment, as

[Python-Dev] [Python-checkins] peps: Pre-alpha draft for PEP 435 (enum). The name is not important at the moment, as [Python-Dev] [Python-checkins] peps: Pre-alpha draft for PEP 435 (enum). The name is not important at the moment, asAntoine Pitrou solipsis at pitrou.net
Sat Feb 23 16:06:45 CET 2013
On Sat, 23 Feb 2013 16:02:31 +0100
Stefan Krah <stefan at bytereef.org> wrote:
> eli.bendersky <python-checkins at python.org> wrote:
> > +Ordered comparisons between enumeration values are *not* supported.  Enums are
> > +not integers!
> 
> Hmm. I think this limits interoperation with C libraries and prototyping
> C code.

Agreed, this is a deal-breaker IMO. I'd actually argue that enums are
not terribly useful apart from interacting with C constants.

Regards

Antoine.


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