[issue37163] dataclasses.replace() fails with the field named "obj"
Serhiy Storchaka
report at bugs.python.org
Wed Jun 5 12:01:35 EDT 2019
Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:
I propose to add a deprecation warning in 3.8 and use the PEP 570 syntax in 3.9 (which means a TypeError if obj is passed by keyword argument).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37163>
_______________________________________
More information about the Python-bugs-list
mailing list