[issue35216] misleading error message from shutil.copy()

Stéphane Wirtel report at bugs.python.org
Mon Nov 12 10:19:40 EST 2018


Stéphane Wirtel <stephane at wirtel.be> added the comment:

@vstinner & @serhiy

What do you think about this issue?

For the same POSIX syscall (open) we get 2 different values for the error, 2 on macOS and EISDIR with Linux.

Is a bug in Python or with the compliance of the operating system and the POSIX norm?

Thank you

----------
nosy: +serhiy.storchaka, vstinner

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


More information about the Python-bugs-list mailing list