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 | ncoghlan |
|---|---|
| Recipients | alex, barry, dilettant, eric.smith, ethan.furman, gvanrossum, ncoghlan, pitrou |
| Date | 2013年05月14日.03:56:23 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1368503784.13.0.20696665754.issue17959@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
I just wanted to note that there's a trivial way to prevent accidental aliases inline or in your test suite if you don't intend them: class MyEnum(Enum): .... assert len(MyEnum) == len(MyEnum.__members__) |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2013年05月14日 03:56:24 | ncoghlan | set | recipients: + ncoghlan, gvanrossum, barry, pitrou, eric.smith, alex, ethan.furman, dilettant |
| 2013年05月14日 03:56:24 | ncoghlan | set | messageid: <1368503784.13.0.20696665754.issue17959@psf.upfronthosting.co.za> |
| 2013年05月14日 03:56:24 | ncoghlan | link | issue17959 messages |
| 2013年05月14日 03:56:23 | ncoghlan | create | |