New submission from Eric V. Smith <e...@trueblade.com>:

make_dataclass() should take optional keyword only arguments and pass them to 
@dataclass() when it uses it after it creates a new class.

The parameters are:
init=True, repr=True, eq=True, order=False, hash=None, frozen=False

Obviously, these should reflect their default values in @dataclass, should that 
ever change.

----------
assignee: eric.smith
components: Library (Lib)
messages: 308074
nosy: eric.smith, levkivskyi, rhettinger
priority: normal
severity: normal
status: open
title: Pass keyword arguments from dataclasses.make_dataclass() to @dataclass.
versions: Python 3.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32279>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to