[issue12784] Concatenation of strings returns the wrong string

2011-08-19 Thread Kåre Krig
Kåre Krig added the comment: I managed to get access to another two systems to test this on. One running ubuntu & python 2.7.1 and the other suse & python 2.6. I could not reproduce the bug on either of those systems. This all points to the issue not really being a bug in py

[issue12784] Concatenation of strings returns the wrong string

2011-08-19 Thread Kåre Krig
Kåre Krig added the comment: I tried it again with another file. This time I used the dictionary from www.math.sjsu.edu/~foster/dictionary.txt (~3Mb) hash(buff_A) == hash(buff_B) returns False just like the direct comparison. I ran the program on dictionary.txt and printed buff_A & bu

[issue12784] Concatenation of strings returns the wrong string

2011-08-19 Thread Kåre Krig
New submission from Kåre Krig : When I concatenate two strings, with the one on the right hand side being large, the resulting string is almost correct but has a few chars substituted. The following code (with (...) added on the print statement for 3.1) prints False on both Python 2.6.5