[issue46303] _Py_stat and _Py_wstat using incorrect type for status argument

STINNER Victor report at bugs.python.org
Tue Jan 11 20:07:58 EST 2022


STINNER Victor <vstinner at python.org> added the comment:

> Seems it would go back to depending on some type nonstandard python macro to translate between the two during build.

In the internal C API, there are less concerns about writing portable code. We expect users of this API to pay more attention to what they do and there is no backward compatibility warranty.

In the internal C API, it's acceptable to change the parameter type depending on the platform.

----------

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


More information about the Python-bugs-list mailing list