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 ethan.furman
Recipients barry, eli.bendersky, ethan.furman, r.david.murray, vajrasky
Date 2013-09-15.17:50:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1379267438.16.0.6543841892.issue19025@psf.upfronthosting.co.za>
In-reply-to
Content
Perhaps a section in the docs about the differences from typical Python classes is warranted:

  - Enum members are virtual
  - Enum members are singletons
  - new Enum members (aka instances of an Enum class) cannot be created
  - during class creation Enum members cannot be overwritten, nor overwrite
    other class attributes
  - Enum classes with members cannot be subclassed
  - Enum classes support iteration
  - Enum classes support containment
History
Date User Action Args
2013-09-15 17:50:38ethan.furmansetrecipients: + ethan.furman, barry, r.david.murray, eli.bendersky, vajrasky
2013-09-15 17:50:38ethan.furmansetmessageid: <1379267438.16.0.6543841892.issue19025@psf.upfronthosting.co.za>
2013-09-15 17:50:38ethan.furmanlinkissue19025 messages
2013-09-15 17:50:38ethan.furmancreate