[issue29045] Outdated C api doc about Windows error

2021-02-26 Thread Eryk Sun
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:

[issue29045] Outdated C api doc about Windows error

2016-12-21 Thread Xiang Zhang
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

[issue29045] Outdated C api doc about Windows error

2016-12-21 Thread Eryk Sun
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

[issue29045] Outdated C api doc about Windows error

2016-12-21 Thread Xiang Zhang
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