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 eriknw
Recipients eriknw
Date 2016-04-10.17:54:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The first argument to sorted is positional-only, so the text signature should be:

sorted($module, iterable, /, key=None, reverse=False)

instead of

sorted($module, iterable, key=None, reverse=False)

To reproduce the issue, attempt to use "iterable" as a keyword argument:

>>> import inspect
>>> sig = inspect.signature(sorted)
>>> sig.bind(iterable=[])  # should raise, but doesn't
>>> sorted(iterable=[])  # raises TypeError
Date User Action Args
2016-04-10 17:54:40eriknwsetrecipients: + eriknw
2016-04-10 17:54:40eriknwsetmessageid: <>
2016-04-10 17:54:40eriknwlinkissue26729 messages
2016-04-10 17:54:40eriknwcreate