A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2009-September/092167.html below:

[Python-Dev] Fuzziness in io module specs

[Python-Dev] Fuzziness in io module specs - PEP update proposition V2 [Python-Dev] Fuzziness in io module specs - PEP update proposition V2Antoine Pitrou solipsis at pitrou.net
Mon Sep 28 00:44:22 CEST 2009
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.


More information about the Python-Dev mailing list

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