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 edwardw
Recipients edwardw
Date 2018-06-27.04:00:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1530072050.24.0.56676864532.issue33976@psf.upfronthosting.co.za>
In-reply-to
Content
Methods defined in Enums behave 'normally' but classes defined in Enums get mistaken for regular values and can't be used as classes out of the box.

```python
class Outer(Enum):
    a = 1
    b = 2
    class Inner(Enum):
        foo = 10
        bar = 11
```
History
Date User Action Args
2018-06-27 04:00:50edwardwsetrecipients: + edwardw
2018-06-27 04:00:50edwardwsetmessageid: <1530072050.24.0.56676864532.issue33976@psf.upfronthosting.co.za>
2018-06-27 04:00:50edwardwlinkissue33976 messages
2018-06-27 04:00:49edwardwcreate