[issue40025] enum: _generate_next_value_ is not called if its definition occurs after calls to auto()

Ethan Furman report at bugs.python.org
Wed May 27 16:12:15 EDT 2020


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


New changeset b5ecbf02e4dbdea6d1c9a6d7189137f76e70c073 by Miss Islington (bot) in branch '3.8':
bpo-40025: Require _generate_next_value_ to be defined before members(GH-19763)
https://github.com/python/cpython/commit/b5ecbf02e4dbdea6d1c9a6d7189137f76e70c073


----------

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


More information about the Python-bugs-list mailing list