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 petr.viktorin
Recipients Dennis Sweeney, eric.smith, eric.snow, frenzy, hynek, petr.viktorin, tinchester
Date 2022-01-24.10:43:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1643021024.57.0.870611136749.issue46404@roundup.psfhosted.org>
In-reply-to
Content
I guess at least there should be a warning about this in dataclasses docs?
The reproducer with dataclasses (which exhibits the same error on 3.10 and 3.11):

import dataclasses

@dataclasses.dataclass(slots=True)
class A:
    pass


@dataclasses.dataclass(slots=True)
class B(A):
    def test(self):
        super()

B().test()
History
Date User Action Args
2022-01-24 10:43:44petr.viktorinsetrecipients: + petr.viktorin, eric.smith, eric.snow, hynek, tinchester, frenzy, Dennis Sweeney
2022-01-24 10:43:44petr.viktorinsetmessageid: <1643021024.57.0.870611136749.issue46404@roundup.psfhosted.org>
2022-01-24 10:43:44petr.viktorinlinkissue46404 messages
2022-01-24 10:43:44petr.viktorincreate