Author ethan.furman
Recipients Antony.Lee, ethan.furman
Date 2018-09-20.14:28:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1537453685.01.0.956365154283.issue34750@psf.upfronthosting.co.za>
In-reply-to
Content
`locals()` returns the dictionary being used (an _EnumDict) and direct assignment uses the `__setitem__` method, which has been overridden -- and it is the only one; so `update()`, etc., still have normal dict meanings and not Enum ones.

Next step:  compile list of all methods that _EnumDict should override.

Or just say it's not supported.

Antony, can you give a more detailed use-case?  Meaning an actual example, please.
History
Date User Action Args
2018-09-20 14:28:05ethan.furmansetrecipients: + ethan.furman, Antony.Lee
2018-09-20 14:28:05ethan.furmansetmessageid: <1537453685.01.0.956365154283.issue34750@psf.upfronthosting.co.za>
2018-09-20 14:28:04ethan.furmanlinkissue34750 messages
2018-09-20 14:28:04ethan.furmancreate