[issue37700] shutil.copyfile does not raise SpecialFileError for socket files

Christopher Hunt report at bugs.python.org
Mon Jul 29 00:24:03 EDT 2019


Christopher Hunt <chrahunt at gmail.com> added the comment:

See also: the comment from https://github.com/python/cpython/blob/e1b900247227dad49d8231f1d028872412230ab4/Lib/shutil.py#L245:

> # XXX What about other special files? (sockets, devices...)

----------

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


More information about the Python-bugs-list mailing list