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-May/126030.html below:

[Python-Dev] PEP 435 - requesting pronouncement

[Python-Dev] PEP 435 - requesting pronouncement [Python-Dev] PEP 435 - requesting pronouncementEthan Furman ethan at stoneleaf.us
Mon May 6 01:15:05 CEST 2013
On 05/05/2013 03:16 PM, Nikolaus Rath wrote:
> Guido van Rossum <guido at python.org> writes:
>>> 1. Having to enter the values is annoying. Sorry, I read the rationale and
>>> all that, and I *still* want to write a C-Like enum { A, B, C }. I fully
>>> expect to edit and reorder enums (if I ever use them) and get irritated with
>>> having to update the value assignments.
>>
>> I guess there are cultural differences around this. Anyway, you can
>> use the functional/convenience API for this purpose.
>
> Would it be wise to forbid ... as an enum value to preserve the option
> to use it for automatic value assignment in some indefinite future?

No.  If somebody has a use for ... is a value we're not going to say no on the very remote chance that Guido someday 
changes his mind on that point.  ;)

--
~Ethan~
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