Message380840
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) |
|
Date |
User |
Action |
Args |
2020-11-12 18:23:57 | autospamfighter | set | recipients:
+ autospamfighter |
2020-11-12 18:23:57 | autospamfighter | set | messageid: <1605205437.83.0.0876606558976.issue42334@roundup.psfhosted.org> |
2020-11-12 18:23:57 | autospamfighter | link | issue42334 messages |
2020-11-12 18:23:57 | autospamfighter | create | |
|