[Python-Dev] RE: test_sort.py failure

Tim Peters tim.peters at gmail.com
Thu Jul 29 06:11:31 CEST 2004

[Tim Peters]
> I think I have a fix for this, and will check it in when the tests finish.

It's checked in now.

> However, it doesn't fail on my box -- MS is *always* moving the memory
> around.  So I hope that, before someone rebuilds with the checkin,
> they temporarily fiddle the test on their box so it fails more often.
> I expect that setting the list size to 3 instead of 50 will do that.
> If you set it to 1, the test will never fail.

Ack, I meant that if you set it to 1, the test will always fail, with
or without this patch (__lt__ is never called then, so the list never
mutates then).

More information about the Python-Dev mailing list