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

2021-12-11 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.5, Python 3.6, Python 3.7, Python 3.8 ___ Python tracker ___

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

2019-10-03 Thread AWhetter
Change by AWhetter : -- keywords: +patch pull_requests: +16167 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16575 ___ Python tracker ___

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

2019-08-04 Thread Giovanni Cappellotto
Change by Giovanni Cappellotto : -- nosy: +potomak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2019-07-29 Thread Chris Jerdonek
Chris Jerdonek added the comment: This issue is being filed after coming up in pip's tracker here (in a comment by Guido): https://github.com/pypa/pip/issues/5306#issuecomment-383355379 -- nosy: +chris.jerdonek ___ Python tracker

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

2019-07-28 Thread Christopher Hunt
Christopher Hunt 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

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

2019-07-28 Thread Christopher Hunt
New submission from Christopher Hunt : Currently shutil.copyfile only raises SpecialFileError for named pipes. When trying to use the function to copy a socket file, the exception raised depends on the platform, for example: macOS: "[Errno 102] Operation not supported on socket: