A RetroSearch Logo

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

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2012-February/116556.html below:

[Python-Dev] best place for an atomic file API

[Python-Dev] best place for an atomic file API [Python-Dev] best place for an atomic file APIVinay Sajip vinay_sajip at yahoo.co.uk
Thu Feb 16 11:20:34 CET 2012
Martin v. Löwis <martin <at> v.loewis.de> writes:

> One way of providing this might be a "u" mode for open, which
> updates an existing file on close (unlike "a", which appends,
> and unlike "w", which truncates first).

Doesn't "r+" cover this?

Regards,

Vinay Sajip

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