Zbigniew Halas added the comment:
Thank you for the fix, attaching a patch for 2.7.
--
keywords: +patch
Added file:
http://bugs.python.org/file29701/python_2.7_fix_slot_sorting_v1.patch
___
Python tracker
<http://bugs.python.org/issue17
New submission from Zbigniew Halas:
Comparison function slotdef_cmp in Objects/typeobject.c is based on the
assumption that qsort may be stabilised by taking memory addresses of compared
objects into consideration. This assumption is not guaranteed by the C standard
and may not always be