diff options
author | Éric Araujo <aeric@mtlpy.org> | 2012-12-08 19:21:51 (GMT) |
---|---|---|
committer | Éric Araujo <aeric@mtlpy.org> | 2012-12-08 19:21:51 (GMT) |
commit | 3e4a3dcb23d849fa0ce5f5009e83606abaef15aa (patch) | |
tree | 41475986d38a6d9ecdcacb93a3205a164137501f /Doc/distutils | |
parent | 09974b4e9e8da3c9ba0469f4812e68cf9f700ffd (diff) | |
download | cpython-3e4a3dcb23d849fa0ce5f5009e83606abaef15aa.zip cpython-3e4a3dcb23d849fa0ce5f5009e83606abaef15aa.tar.gz cpython-3e4a3dcb23d849fa0ce5f5009e83606abaef15aa.tar.bz2 |
Ignore .nfs* files in distutils (#7719).
These files are created by some NFS clients a file is edited and removed
concurrently (see added link in doc for more info). If such a file is
removed between distutils calls listdir and copy, it will get confused.
Other special files are ignored in sdist (namely VCS directories), but
this has to be filtered out earlier.
Diffstat (limited to 'Doc/distutils')
-rw-r--r-- | Doc/distutils/apiref.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/distutils/apiref.rst b/Doc/distutils/apiref.rst index e15dc76..74fba4a 100644 --- a/Doc/distutils/apiref.rst +++ b/Doc/distutils/apiref.rst @@ -992,6 +992,12 @@ directories. destination of the symlink will be copied. *update* and *verbose* are the same as for :func:`copy_file`. + Files in *src* that begin with :file:`.nfs` are skipped (more information on + these files is available in answer D2 of the `NFS FAQ page + <http://nfs.sourceforge.net/#section_d>`_. + + .. versionchanged:: 3.2.4 + NFS files are ignored. .. function:: remove_tree(directory[, verbose=0, dry_run=0]) |