[issue2897] include structmember.h in Python.h

Martin v. Löwis report at bugs.python.org
Tue Jan 6 11:09:15 CET 2009


Martin v. Löwis <martin at v.loewis.de> added the comment:

I agree with Alexander; the header shouldn't be included into Python.h
as-is.

I would propose to eliminate it eventually, with the following steps:
1. move PyMemberDef and the function declarations into object.h
2. (simultaneously) introduce properly-prefixed macros in object.h
3. deprecate structmember.h
4. remove it

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


More information about the Python-bugs-list mailing list