[issue2897] Deprecate structmember.h

STINNER Victor report at bugs.python.org
Wed May 27 11:50:25 EDT 2020


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

> Note that structmember.h pollutes global namespace with macros that do not have conventional Py_ or PY_ prefix.  READONLY and RESTRICTED macros seem to be most likely to conflict with other code.

One small enhance would be to add such prefix when Py_LIMITED_API is defined.

----------

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


More information about the Python-bugs-list mailing list