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 iritkatriel
Recipients benjamin.peterson, berker.peksag, erickt, iritkatriel, jcea, martin.panter, mchelem, r.david.murray
Date 2021-11-26.16:39:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Reproduced on 3.11: 

>>> def foo(): pass
>>> foo.__name__ = 'bar'
>>> foo(1)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: foo() takes 0 positional arguments but 1 was given
Date User Action Args
2021-11-26 16:39:47iritkatrielsetrecipients: + iritkatriel, jcea, benjamin.peterson, erickt, r.david.murray, berker.peksag, martin.panter, mchelem
2021-11-26 16:39:47iritkatrielsetmessageid: <>
2021-11-26 16:39:47iritkatriellinkissue4322 messages
2021-11-26 16:39:47iritkatrielcreate