Ivan Levkivskyi <levkivs...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue33188>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to