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 kj
Recipients felixxm, kj, pablogsal, vstinner
Date 2021-05-25.15:38:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1621957080.1.0.444135609747.issue44232@roundup.psfhosted.org>
In-reply-to
Content
Alright, I got a minimum reproducible example:

class XBase(type):
    def __new__(cls, name, bases, attrs, **kwargs):
        attrs.pop('__module__')
        return super().__new__(cls, name, bases, attrs, **kwargs)

class X(metaclass=XBase): ...

type('A', (X, ), {})


This triggers it, sending patch soon.
History
Date User Action Args
2021-05-25 15:38:00kjsetrecipients: + kj, vstinner, pablogsal, felixxm
2021-05-25 15:38:00kjsetmessageid: <1621957080.1.0.444135609747.issue44232@roundup.psfhosted.org>
2021-05-25 15:38:00kjlinkissue44232 messages
2021-05-25 15:38:00kjcreate