cdv test failures
John A Meinel
john at arbash-meinel.com
Thu May 25 05:36:51 BST 2006
Robert Collins wrote:
> On Wed, 2006-05-24 at 18:49 -0500, John Arbash Meinel wrote:
>> I guess some python internals changed that we didn't expect.
>
> Well.. dictionary sort order is 'undefined' :).
>
> Consider a hash table: the size of your hash keys will affect sorting,
> if that is 'int', then sizeof(int) -> sort order *even though python has
> a vm*.
>
> Rob
>
Actually, it looks like it is an issue with us using difflib underneath
the covers. python2.4.3 actually uses a different difflib implementation.
It doesn't use __helper() at the same times.
The tests that are failing are ones that check that changes tend to stay
stuck to the previous code block, rather than just the longest one.
So it seems like we might need to copy the SequenceMatcher from the old
difflib.
John
=:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060524/80b91c5d/attachment.pgp
More information about the bazaar
mailing list