◐ Shell
clean mode source ↗

Message 289467 - Python tracker

Elliot, I don't care if the example behaves differently.  Although someone else may ;-)

The only things `.sort()` has ever tried to guarantee in the presence of mutations (of either the list or the elements) during sorting are that (a) the implementation won't segfault; and, (b) the list at the end is _some_ permutation of the input list (no elements are lost or duplicated).

If crazy mutation examples can provoke a segfault, that's possibly "a problem" - but different results really aren't (at least not to me).