Message320541
| 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:50 | edwardw | set | recipients: + edwardw |
| 2018-06-27 04:00:50 | edwardw | set | messageid: <1530072050.24.0.56676864532.issue33976@psf.upfronthosting.co.za> |
| 2018-06-27 04:00:50 | edwardw | link | issue33976 messages |
| 2018-06-27 04:00:49 | edwardw | create | |