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 terry.reedy
Recipients Anders.Hovmöller, aroberge, eric.smith, terry.reedy
Date 2022-02-04.20:15:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1644005708.0.0.36748102601.issue46637@roundup.psfhosted.org>
In-reply-to
Content
I think the incorrect qualification should be dropped, if sanely feasible.

More misleading are hidden positional-only args.  Doc:
  min(iterable, *[, key, default])
  min(arg1, arg2, *args[, key])

>>> min(iterator=(1,3))
Traceback (most recent call last):
  File "<pyshell#0>", line 1, in <module>
    min(iterator=(1,3))
TypeError: min expected at least 1 argument, got 0

1 was passed, but 0 were gotten, as the 1 passed was silently ignored.
History
Date User Action Args
2022-02-04 20:15:08terry.reedysetrecipients: + terry.reedy, eric.smith, aroberge, Anders.Hovmöller
2022-02-04 20:15:08terry.reedysetmessageid: <1644005708.0.0.36748102601.issue46637@roundup.psfhosted.org>
2022-02-04 20:15:07terry.reedylinkissue46637 messages
2022-02-04 20:15:07terry.reedycreate