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 izbyshev
Recipients izbyshev, vstinner
Date 2018-02-20.23:54:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>

>>> os.execve('', ['a'], {})
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
OSError: [WinError 0] The operation completed successfully: ''

The reason is that path_error() used throughout os module always uses GetLastError() on Windows, but some functions are implemented via CRT calls which report errors via errno. It seems that commit 292c83554 caused this issue.
Date User Action Args
2018-02-20 23:54:16izbyshevsetrecipients: + izbyshev, vstinner
2018-02-20 23:54:16izbyshevsetmessageid: <>
2018-02-20 23:54:16izbyshevlinkissue32890 messages
2018-02-20 23:54:16izbyshevcreate