This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author stephane.poirier
Recipients stephane.poirier
Date 2013-01-11.14:13:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
qsort doesn't sort arrays that are defined with double elements.
You can find attached a script that shows this function working well for int (as described in the ctypes documentation). If int array is replaced by double array qsort doesn't sort any more.
Even worse, with python 2.6, the difference between a[0] and b[0] may be nan.
The script can be launch by 
Date User Action Args
2013-01-11 14:13:56stephane.poiriersetrecipients: + stephane.poirier
2013-01-11 14:13:56stephane.poiriersetmessageid: <>
2013-01-11 14:13:56stephane.poirierlinkissue16934 messages
2013-01-11 14:13:56stephane.poiriercreate