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.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4