Message214174
I found a misbehavior when reading and writing XML File by open() with 'r+' flag, some strings will be overlapped at the end of the file.
you can demonstrate it like below:
f = open(file, "r+")
c = f.read()
# todo: write something to do
f.write(c)
f.close()
Actually I'm not sure if it's bug or not however it might be. |
|
Date |
User |
Action |
Args |
2014-03-20 04:52:18 | rexperience7 | set | recipients:
+ rexperience7 |
2014-03-20 04:52:18 | rexperience7 | set | messageid: <1395291138.56.0.807224188986.issue20989@psf.upfronthosting.co.za> |
2014-03-20 04:52:18 | rexperience7 | link | issue20989 messages |
2014-03-20 04:52:18 | rexperience7 | create | |
|