[issue30400] Race condition in shutil.copyfile(): source file replaced file during copy

STINNER Victor report at bugs.python.org
Sun Jul 15 18:01:13 EDT 2018


STINNER Victor <vstinner at redhat.com> added the comment:

Python doesn't use FD of directories by default because it introduces
issues of FD limit with deep directory tree, issue of managing FD lifetime,
etc. That's why some API have one flavor for path and another for FD.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue30400>
_______________________________________


More information about the Python-bugs-list mailing list