[Python-Dev] flaky tests caused by repr() sort order

Christian Heimes christian at python.org
Thu Nov 21 19:10:29 CET 2013

Am 21.11.2013 18:57, schrieb Tim Peters:
> Best to change the failing tests.  For example, _they_ can sort the
> dict keys if they rely on a fixed order.  Sorting in general is a
> dubious idea because it can be a major expense with no real benefit
> for most uses.

I don't consider repr() as a performance critical function. It's mostly
used for debugging.

More information about the Python-Dev mailing list