[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2017-01-20 Thread Josh Rosenberg

Changes by Josh Rosenberg :


--
nosy: +josh.r

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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().

--
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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com