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

Ethan Furman report at bugs.python.org
Tue Apr 28 13:21:03 EDT 2020


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


New changeset d9a43e20facdf4ad10186f820601c6580e1baa80 by Ethan Onstott in branch 'master':
bpo-40025: Require _generate_next_value_ to be defined before members (GH-19098)
https://github.com/python/cpython/commit/d9a43e20facdf4ad10186f820601c6580e1baa80


----------

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


More information about the Python-bugs-list mailing list