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 gvanrossum
Recipients brandtbucher, eric.smith, freundTech, gvanrossum
Date 2021-04-07.18:35:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1617820559.82.0.698503048764.issue43764@roundup.psfhosted.org>
In-reply-to
Content
I assume the OP wants to have a class that doesn't allow positional patterns. The right way to spell that is indeed to add

    __match_args__ = ()

to the class, there's no need to add another flag to @dataclass.
History
Date User Action Args
2021-04-07 18:35:59gvanrossumsetrecipients: + gvanrossum, eric.smith, brandtbucher, freundTech
2021-04-07 18:35:59gvanrossumsetmessageid: <1617820559.82.0.698503048764.issue43764@roundup.psfhosted.org>
2021-04-07 18:35:59gvanrossumlinkissue43764 messages
2021-04-07 18:35:59gvanrossumcreate