[Python-checkins] peps: Remove openat support

antoine.pitrou python-checkins at python.org
Wed Oct 23 21:10:20 CEST 2013


http://hg.python.org/peps/rev/00754d360e58
changeset:   5214:00754d360e58
user:        Antoine Pitrou <solipsis at pitrou.net>
date:        Wed Oct 23 19:49:13 2013 +0200
summary:
  Remove openat support

files:
  pep-0428.txt |  19 -------------------
  1 files changed, 0 insertions(+), 19 deletions(-)


diff --git a/pep-0428.txt b/pep-0428.txt
--- a/pep-0428.txt
+++ b/pep-0428.txt
@@ -658,25 +658,6 @@
 provided, for example some of the functionality of the shutil module.
 
 
-Experimental openat() support
------------------------------
-
-On compatible POSIX systems, the concrete PosixPath class can take advantage
-of \*at() functions (`openat()`_ and friends), and manages the bookkeeping of
-open file descriptors as necessary.  Support is enabled by passing the
-*use_openat* argument to the constructor::
-
-    >>> p = Path(".", use_openat=True)
-
-Then all paths constructed by navigating this path (either by iteration or
-indexing) will also use the openat() family of functions.  The point of using
-these functions is to avoid race conditions whereby a given directory is
-silently replaced with another (often a symbolic link to a sensitive system
-location) between two accesses.
-
-.. _`openat()`: http://pubs.opengroup.org/onlinepubs/9699919799/functions/open.html
-
-
 Copyright
 =========
 

-- 
Repository URL: http://hg.python.org/peps


More information about the Python-checkins mailing list