[issue12843] file object read* methods in append mode overflows

2011-08-25 Thread Otacon Karurosu
New submission from Otacon Karurosu : When opening a file in append mode and attempting to read after doing a write operation causes the read method to overflow and read memory directly (instead of returning an empty string) The following code prints garbage: f2 = open("test",

[issue12843] file object read* methods in append mode overflows

2011-08-25 Thread Otacon Karurosu
Otacon Karurosu added the comment: I have confirmed that this only happens in windows. -- components: +Windows ___ Python tracker <http://bugs.python.org/issue12