Message98577
related:
f=open('test','w+b')
f.write('123456789ABCDEF')
#f.seek(0)
print "position",f.tell()
print '[',len(f.read()),']'
f.close()
windows: 2.6.2 mingw/ 2.6.4 msvc builds
len(f.read()) > 0 ( 4081 when i did the test ) but should be 0
printing the buffer show binary garbage.
linux is ok f.read() return '' as expected |
|
Date |
User |
Action |
Args |
2010-01-30 22:24:47 | pmpp | set | recipients:
+ pmpp, pitrou, nneonneo, benjamin.peterson |
2010-01-30 22:24:47 | pmpp | set | messageid: <1264890287.05.0.678110211327.issue5677@psf.upfronthosting.co.za> |
2010-01-30 22:24:45 | pmpp | link | issue5677 messages |
2010-01-30 22:24:45 | pmpp | create | |
|