This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author SilentGhost
Recipients SilentGhost, barry, docs@python, eli.bendersky, ethan.furman
Date 2015-11-10.08:27:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1447144067.5.0.526378354242.issue25594@psf.upfronthosting.co.za>
In-reply-to
Content
In enum docs[0], there is a suggestion that the attribute access on members should raise an AttributeError:

>>> Color.red.blue
Traceback (most recent call last):
...
AttributeError: 'Color' object has no attribute 'blue'

which is demonstrably wrong in either 3.5 or 3.6. I presume that's a doc issue and I'd be glad to propose the patch as soon as someone more familiar with the module could confirm that.

[0] https://docs.python.org/3.6/library/enum.html#finer-points
History
Date User Action Args
2015-11-10 08:27:47SilentGhostsetrecipients: + SilentGhost, barry, eli.bendersky, docs@python, ethan.furman
2015-11-10 08:27:47SilentGhostsetmessageid: <1447144067.5.0.526378354242.issue25594@psf.upfronthosting.co.za>
2015-11-10 08:27:47SilentGhostlinkissue25594 messages
2015-11-10 08:27:46SilentGhostcreate