Message317269
Right, this is because your subclass is not completely compatible with SimpleNamespace. The SimpleNamespace constructor accepts only keyword arguments, but your class requires a positional argument. You have to implement the __copy__ method for supporting shallow copying and the __deepcopy__ method for supporting deep copying. Or the __reduce__ method for supporting both shallow and deep copying and pickling. |
|
Date |
User |
Action |
Args |
2018-05-22 10:20:33 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, stereobutter |
2018-05-22 10:20:33 | serhiy.storchaka | set | messageid: <1526984433.45.0.682650639539.issue33599@psf.upfronthosting.co.za> |
2018-05-22 10:20:33 | serhiy.storchaka | link | issue33599 messages |
2018-05-22 10:20:33 | serhiy.storchaka | create | |
|