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, killerrex
Date 2018-05-08.15:01:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
That new example looks great!  Note that you don't need the parenthesis, though.

FYI: The same thing using the aenum library* would look like:

    from aenum import Enum

    class Coord(bytes, Enum):
    _init_ = 'value label unit'

    PX = [0], 'P.X', 'km'
    PY = [1], 'P.Y', 'km'
    VX = [2], 'V.X', 'km/s'
    VY = [3], 'V.Y', 'km/s'

* aenum is the Advanced Enum library I wrote that has a few extra abilities.
Date User Action Args
2018-05-08 15:01:04ethan.furmansetrecipients: + ethan.furman, barry, eli.bendersky, killerrex
2018-05-08 15:01:04ethan.furmansetmessageid: <>
2018-05-08 15:01:04ethan.furmanlinkissue33437 messages
2018-05-08 15:01:04ethan.furmancreate