[issue25594] enum docs outdated re attribute access

2015-11-10 Thread SilentGhost
SilentGhost added the comment: Here is the test, it seems to have been 2545bfe0d273 that caused it (issue23486): test passes prior to it and fails on it (and I assume uniformly after). -- keywords: +patch Added file: http://bugs.python.org/file41003/test_issue25594.diff __

[issue25594] enum docs outdated re attribute access

2015-11-10 Thread Ethan Furman
Ethan Furman added the comment: Nope, that would be a bug. -- assignee: docs@python -> ethan.furman stage: -> test needed type: -> behavior ___ Python tracker ___ _

[issue25594] enum docs outdated re attribute access

2015-11-10 Thread SilentGhost
New submission from SilentGhost: 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.