Eryk Sun added the comment:
The documentation still has two references to
PyErr_SetFromWindowsErrWithFilenameObject, which is not a defined function in
the C API.
https://docs.python.org/3.10/c-api/exceptions.html#c.PyErr_SetFromWindowsErrWithFilename
--
components: +Windows
nosy:
Xiang Zhang added the comment:
> PyErr_SetFromWindowsErrWithFilenameObject was never implemented. See issue
> 11210.
> Since 3.3 WindowsError is simply an alias for OSError. See PEP 3151.
Ohh, thanks for the info. I don't find the implementation in 2.7 either.
--
versions: +Python
Eryk Sun added the comment:
PyErr_SetFromWindowsErrWithFilenameObject was never implemented. See issue
11210.
Since 3.3 WindowsError is simply an alias for OSError. See PEP 3151.
--
nosy: +eryksun
___
Python tracker
New submission from Xiang Zhang:
https://docs.python.org/3.7/c-api/exceptions.html#c.PyErr_SetFromWindowsErrWithFilename
it stills refers to PyErr_SetFromWindowsErrWithFilenameObject but this
function doesn't exist since Py3.4. I didn't find when and why it's deleted.
And