[New-bugs-announce] [issue29331] Simplify argument parsing in sorted() and list.sort()

Serhiy Storchaka report at bugs.python.org
Fri Jan 20 01:59:39 EST 2017


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 <report at bugs.python.org>
<http://bugs.python.org/issue29331>
_______________________________________


More information about the New-bugs-announce mailing list