This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.smith
Recipients crusaderky, eric.smith
Date 2022-03-10.00:28:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1646872083.78.0.353058246931.issue46970@roundup.psfhosted.org>
In-reply-to
Content
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'
History
Date User Action Args
2022-03-10 00:28:03eric.smithsetrecipients: + eric.smith, crusaderky
2022-03-10 00:28:03eric.smithsetmessageid: <1646872083.78.0.353058246931.issue46970@roundup.psfhosted.org>
2022-03-10 00:28:03eric.smithlinkissue46970 messages
2022-03-10 00:28:03eric.smithcreate