Message312446
Demo:
>>> 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:16 | izbyshev | set | recipients:
+ izbyshev, vstinner |
2018-02-20 23:54:16 | izbyshev | set | messageid: <1519170856.46.0.467229070634.issue32890@psf.upfronthosting.co.za> |
2018-02-20 23:54:16 | izbyshev | link | issue32890 messages |
2018-02-20 23:54:16 | izbyshev | create | |
|