[Python-ideas] Allow Enum members to refer to each other during execution of body

Ethan Furman ethan at stoneleaf.us
Thu Jul 11 03:52:24 CEST 2013


On 07/10/2013 03:47 PM, Antony Lee wrote:
>
> Forward references are now implemented (https://github.com/anntzer/enum).  They require an explicit declaration, à la

Do they work with a custom __new__ ?  __init__ ?

--
~Ethan~


More information about the Python-ideas mailing list