[Python-Dev] flaky tests caused by repr() sort order
Guido van Rossum
guido at python.org
Thu Nov 21 19:18:12 CET 2013
More information about the Python-Dev mailing list
Thu Nov 21 19:18:12 CET 2013
- Previous message: [Python-Dev] flaky tests caused by repr() sort order
- Next message: [Python-Dev] flaky tests caused by repr() sort order
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Correct. On Nov 21, 2013 10:15 AM, "Daniel Holth" <dholth at gmail.com> wrote: > +1 on unsorted repr(). It makes it obvious that the collection is not > sorted. > > On Thu, Nov 21, 2013 at 1:10 PM, Christian Heimes <christian at python.org> > wrote: > > 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. > > > > _______________________________________________ > > Python-Dev mailing list > > Python-Dev at python.org > > https://mail.python.org/mailman/listinfo/python-dev > > Unsubscribe: > https://mail.python.org/mailman/options/python-dev/dholth%40gmail.com > _______________________________________________ > Python-Dev mailing list > Python-Dev at python.org > https://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: > https://mail.python.org/mailman/options/python-dev/guido%40python.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20131121/d5be5370/attachment-0001.html>
- Previous message: [Python-Dev] flaky tests caused by repr() sort order
- Next message: [Python-Dev] flaky tests caused by repr() sort order
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list