STINNER Victor added the comment: Oh, forget my comment. sorted() never changes the input list, so the microbenchmark is ok. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue23493> _______________________________________