[issue40796] dataclasses.make_dataclass: Exception when called with different field orders

Eric V. Smith report at bugs.python.org
Wed May 27 13:40:16 EDT 2020


Eric V. Smith <eric at trueblade.com> added the comment:

No problem!

It can't reorder fields, because you might not be passing them by name. There's some discussion about requiring keyword-only parameters, in which case what you're doing would work (as long as they were keyword-only params).

----------
resolution:  -> not a bug

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


More information about the Python-bugs-list mailing list