[issue29331] Simplify argument parsing in sorted() and list.sort()

2017-01-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thanks Victor. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue29331] Simplify argument parsing in sorted() and list.sort()

2017-01-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 69bd5c497a82 by Serhiy Storchaka in branch 'default': Issue #29331: Simplified argument parsing in sorted() and list.sort(). https://hg.python.org/cpython/rev/69bd5c497a82 -- nosy: +python-dev ___ Python

[issue29331] Simplify argument parsing in sorted() and list.sort()

2017-01-20 Thread Josh Rosenberg
Changes by Josh Rosenberg : -- nosy: +josh.r ___ Python tracker ___ ___

[issue29331] Simplify argument parsing in sorted() and list.sort()

2017-01-20 Thread STINNER Victor
STINNER Victor added the comment: sort-arg-parse-2.patch now LGTM with the comment, thanks :-) -- ___ Python tracker ___

[issue29331] Simplify argument parsing in sorted() and list.sort()

2017-01-20 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Added file: http://bugs.python.org/file46353/sort-arg-parse-2.patch ___ Python tracker ___

[issue29331] Simplify argument parsing in sorted() and list.sort()

2017-01-19 Thread Serhiy Storchaka
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(). --