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 autospamfighter
Recipients autospamfighter
Date 2020-11-12.18:23:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1605205437.83.0.0876606558976.issue42334@roundup.psfhosted.org>
In-reply-to
Content
I was trying to make a custom complex class that looked something like this and it failed. I replaced complex with int and it also failed, but I tried float and it worked.

---fail
class A(complex):
    def __init__(self, test):
        super().__init__()

A(test=5)

---fail
class A(int):
    def __init__(self, test):
        super().__init__()

A(test=5)

---work
class A(float):
    def __init__(self, test):
        super().__init__()

A(test=5)
History
Date User Action Args
2020-11-12 18:23:57autospamfightersetrecipients: + autospamfighter
2020-11-12 18:23:57autospamfightersetmessageid: <1605205437.83.0.0876606558976.issue42334@roundup.psfhosted.org>
2020-11-12 18:23:57autospamfighterlinkissue42334 messages
2020-11-12 18:23:57autospamfightercreate