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 serhiy.storchaka
Recipients conqp, serhiy.storchaka
Date 2020-12-28.16:46:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1609173993.66.0.749977151726.issue42768@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2020-12-28 16:46:33serhiy.storchakasetrecipients: + serhiy.storchaka, conqp
2020-12-28 16:46:33serhiy.storchakasetmessageid: <1609173993.66.0.749977151726.issue42768@roundup.psfhosted.org>
2020-12-28 16:46:33serhiy.storchakalinkissue42768 messages
2020-12-28 16:46:33serhiy.storchakacreate