[issue45076] open "r+" problem

2021-09-01 Thread otn
otn added the comment: It works correct for ver2.6, and also "rb+". Buffering procsess should work the same as those case. -- ___ Python tracker <https://bugs.python.o

[issue45076] open "r+" problem

2021-09-01 Thread otn
New submission from otn : For opened file as "r+", even if write() then readline(), readline() is executed first. When add tell() after write(), it works correctly. == data1 = "aa\nbb\ncc\n" data2 = "xx\n" with open(&qu