Tim Peters added the comment:

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).

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28685>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to