New submission from Serhiy Storchaka: Proposed patch simplifies argument parsing in sorted() and list.sort().
list.sort() now uses the support of keyword-only parameters in PyArg_ParseTupleAndKeywords(). Keyword arguments now are passed as is to list.sorted() in sorted(). ---------- components: Interpreter Core files: sort-arg-parse.patch keywords: patch messages: 285887 nosy: haypo, rhettinger, serhiy.storchaka priority: normal severity: normal stage: patch review status: open title: Simplify argument parsing in sorted() and list.sort() type: enhancement versions: Python 3.7 Added file: http://bugs.python.org/file46351/sort-arg-parse.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29331> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com