Eric V. Smith <[email protected]> added the comment:
This appears to be due to dataclasses needing to create a new class in order to
set __slots__. I'll look at it, but I doubt there's anything that can be done.
attrs has the same issue:
File "xxxxx/.local/lib/python3.8/site-packages/attr/_make.py", line 889, in
_create_slots_class
cls = type(self._cls)(self._cls.__name__, self._cls.__bases__, cd)
TypeError: __init_subclass__() missing 1 required positional argument: 'msg'
----------
assignee: -> eric.smith
type: crash -> behavior
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue46970>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com