[issue16934] qsort doesn't work for double arrays

Mark Dickinson report at bugs.python.org
Fri Jan 11 15:57:43 CET 2013


Mark Dickinson added the comment:

Closing as invalid:  the issue is not in Python but with the CMPFUNC line.  Your py_cmp_func should return an integer rather than a float to be compatible with libc.qsort.

----------
resolution:  -> invalid
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16934>
_______________________________________


More information about the Python-bugs-list mailing list