[Python-Dev] PEP 435 - requesting pronouncement (original) (raw)
Tim Delaney timothy.c.delaney at gmail.com
Sun May 5 05:22:36 CEST 2013
- Previous message: [Python-Dev] PEP 435 - requesting pronouncement
- Next message: [Python-Dev] PEP 435 - requesting pronouncement
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 5 May 2013 13:11, Tim Delaney <timothy.c.delaney at gmail.com> wrote:
@@ -142,6 +152,7 @@ if objtype in (object, Enum): enumitem = object.new(enumclass) else: + value = objtype.new(objtype, value) enumitem = objtype.new(enumclass, value) enumitem.value = value enumitem.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>
- Previous message: [Python-Dev] PEP 435 - requesting pronouncement
- Next message: [Python-Dev] PEP 435 - requesting pronouncement
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]