This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eryksun
Recipients TheOrangeOne, eryksun
Date 2015-09-02.15:54:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Do you mean the dst path has a trailing slash, but the directory doesn't exist? shutil.copy doesn't check for a trailing slash, so it attempts to open dst as a regular file. On Linux, and probably most POSIX systems, this results in an EISDIR (is a directory) error. On Windows the error is ERROR_INVALID_NAME, which the CRT maps to EINVAL (invalid argument).
Date User Action Args
2015-09-02 15:54:56eryksunsetrecipients: + eryksun, TheOrangeOne
2015-09-02 15:54:56eryksunsetmessageid: <>
2015-09-02 15:54:56eryksunlinkissue24977 messages
2015-09-02 15:54:56eryksuncreate