Message143126
You should call the .flush() method when switching from writes to reads.
Nothing really overflows, but the fread() function may return uninitialized memory. In versions 2.x, python uses the fopen, fread and fwrite function (from the C library) and is subject to their limitations.
The exact behaviour is undefined, and it is well possible that it only happens on Windows. See also the discussion in #7952.
This issue does not exist in versions 3.x, where file functions have been rewritten. |
|
Date |
User |
Action |
Args |
2011-08-28 22:02:22 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, terry.reedy, Otacon.Karurosu |
2011-08-28 22:02:21 | amaury.forgeotdarc | set | messageid: <1314568941.99.0.720132551991.issue12843@psf.upfronthosting.co.za> |
2011-08-28 22:02:21 | amaury.forgeotdarc | link | issue12843 messages |
2011-08-28 22:02:21 | amaury.forgeotdarc | create | |
|