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

[Python-Dev] PEP 435 - requesting pronouncement

[Python-Dev] PEP 435 - requesting pronouncement [Python-Dev] PEP 435 - requesting pronouncementTim Delaney timothy.c.delaney at gmail.com
Sun May 5 05:22:36 CEST 2013
On 5 May 2013 13:11, Tim Delaney <timothy.c.delaney at gmail.com> wrote:

> @@ -142,6 +152,7 @@
>                  if obj_type in (object, Enum):
>                      enum_item = object.__new__(enum_class)
>                  else:
> +                    value = obj_type.__new__(obj_type, value)
>                      enum_item = obj_type.__new__(enum_class, value)
>                  enum_item._value = value
>                  enum_item._name = e
>

Bugger - this is wrong (it didn't feel right to me) - I'm sure it's only
working for me by accident. Need to think of something better.

Tim Delaney
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20130505/2b2fc4b4/attachment.html>
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