[Python-Dev] Fuzziness in io module specs (original) (raw)
[Python-Dev] Fuzziness in io module specs - PEP update proposition V2
Antoine Pitrou solipsis at pitrou.net
Mon Sep 28 00:44:22 CEST 2009
- Previous message: [Python-Dev] Fuzziness in io module specs - PEP update proposition V2
- Next message: [Python-Dev] Fuzziness in io module specs - PEP update proposition V2
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Le Sun, 27 Sep 2009 14:24:52 -0700, Guido van Rossum a écrit : [truncate()]
What compatibility, though?
Compatibility accross the 3.x line.
f.truncate() behaves different in 2.x than in 3.x, and in 2.x it seems to match the POSIX semantics (i.e. the seek position is unchanged even though the file size is). Perhaps the changed semantics was an oversight or a mistake?
Perhaps it was, indeed. I don't know who made that decision in the first place.
Regards
Antoine.
- Previous message: [Python-Dev] Fuzziness in io module specs - PEP update proposition V2
- Next message: [Python-Dev] Fuzziness in io module specs - PEP update proposition V2
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]