[issue29327] SystemError in sorted(iterable=[])

2017-01-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: In debug build Python is crashed. >>> sorted(iterable=[]) python: Objects/abstract.c:2317: _PyObject_FastCallDict: Assertion `nargs >= 0' failed. Aborted (core dumped) -- type: behavior -> crash ___ Python tracker

[issue29327] SystemError in sorted(iterable=[])

2017-01-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Seems this regression was introduced in issue27809. -- ___ Python tracker ___ ___ Python-bugs-list

[issue29327] SystemError in sorted(iterable=[])

2017-01-19 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: In Python 3.6: >>> sorted(iterable=[]) Traceback (most recent call last): File "", line 1, in SystemError: Objects/tupleobject.c:81: bad argument to internal function In Python 3.5 and 2.7: >>> sorted(iterable=[]) Traceback (most recent call last): Fi