[issue34750] locals().update doesn't work in Enum body, even though direct assignment to locals() does

Ethan Furman report at bugs.python.org
Thu Dec 10 16:07:13 EST 2020


Ethan Furman <ethan at stoneleaf.us> added the comment:


New changeset a65828717982e6a56382d7aff738478f5b5b25d0 by Ethan Furman in branch 'master':
bpo-34750: [Enum] add `_EnumDict.update()` support (GH-23725)
https://github.com/python/cpython/commit/a65828717982e6a56382d7aff738478f5b5b25d0


----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34750>
_______________________________________


More information about the Python-bugs-list mailing list