Message383905
Your problem is with list.__init__ method. It expects at most one argument.
tuple does not have specialized __init__ method, it inherits it from object. All work is done in tuple.__new__. list does not have specialized __new__ method, it inherits it from object. All work is done in list.__init__.
If your override __new__ with incompatible signature, make also __init__ supporting it. |
|
Date |
User |
Action |
Args |
2020-12-28 16:46:33 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, conqp |
2020-12-28 16:46:33 | serhiy.storchaka | set | messageid: <1609173993.66.0.749977151726.issue42768@roundup.psfhosted.org> |
2020-12-28 16:46:33 | serhiy.storchaka | link | issue42768 messages |
2020-12-28 16:46:33 | serhiy.storchaka | create | |
|