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 eric.smith
Recipients Anders.Hovmöller, eric.smith
Date 2022-02-04.17:05:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1643994331.77.0.0500691363385.issue46637@roundup.psfhosted.org>
In-reply-to
Content
Given this current behavior:

>>> def foo(a, /, b): pass
...
>>> foo()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: foo() missing 2 required positional arguments: 'a' and 'b'

What would you suggest?

I agree the current messages aren't perfect.
History
Date User Action Args
2022-02-04 17:05:31eric.smithsetrecipients: + eric.smith, Anders.Hovmöller
2022-02-04 17:05:31eric.smithsetmessageid: <1643994331.77.0.0500691363385.issue46637@roundup.psfhosted.org>
2022-02-04 17:05:31eric.smithlinkissue46637 messages
2022-02-04 17:05:31eric.smithcreate