[issue26729] Incorrect __text_signature__ for sorted

Raymond Hettinger report at bugs.python.org
Tue Apr 12 01:50:04 EDT 2016


Raymond Hettinger added the comment:

I don't think we should start down the path of changing APIs just to accommodate weakness in the generation of the text signature.

We don't want to encourage unreadable oddities like sorted(reverse=False, iterable=source).  Best readability comes from the required positional argument for the iterable.  Please don't create a new and unnecessary keyword argument.   The current API is intentional.

----------
assignee:  -> rhettinger
nosy: +rhettinger

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26729>
_______________________________________


More information about the Python-bugs-list mailing list