[issue33188] dataclass MRO entry resolution for type variable metaclasses: TypeError
Ivan Levkivskyi
report at bugs.python.org
Fri Mar 30 18:51:39 EDT 2018
Ivan Levkivskyi <levkivskyi at gmail.com> added the comment:
> If we're going to call new_class in make_dataclass, then we should change the signature of make_dataclass to have the new_class parameters.
Why? I think we should care about what API/signature is reasonable/typical for dataclasses use cases, while new_class is really just an implementation detail. IMO passing keyword arguments to metaclass will be much more rare for dataclasses than passing a ready namespace.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33188>
_______________________________________
More information about the Python-bugs-list
mailing list