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 ncoghlan, serhiy.storchaka
Date 2017-09-20.06:07:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1505887668.56.0.755810920825.issue31506@psf.upfronthosting.co.za>
In-reply-to
Content
C.__new__(42) emits different error, "TypeError: object.__new__(X): X is not a type object (int)". Perhaps you meant C.__new__(C, 42) which now emits "TypeError: C() takes no arguments".

Messages "object.__new__() takes no arguments" and "object.__init__() takes no arguments" are not correct since both object.__new__() and object.__init__() take one argument -- a class and an instance correspondingly.
History
Date User Action Args
2017-09-20 06:07:48serhiy.storchakasetrecipients: + serhiy.storchaka, ncoghlan
2017-09-20 06:07:48serhiy.storchakasetmessageid: <1505887668.56.0.755810920825.issue31506@psf.upfronthosting.co.za>
2017-09-20 06:07:48serhiy.storchakalinkissue31506 messages
2017-09-20 06:07:48serhiy.storchakacreate