structmember.h not included from Python.h

Bryan belred1 at yahoo.com
Mon May 26 23:11:05 EDT 2003


"Bob Ippolito" <bob at redivi.com> wrote in message
news:6a36e729.0305261905.40f70535 at posting.google.com...
> When writing an extension that uses PyMemberDef, I noticed
> structmember.h wasn't included with Python.h.  Is there a reason for
> this?  It'd be easier if extension writers didn't need to remember
> this little detail :)
>
> -bob

i second this.  it should be included in python.h.  it took me a while to
figure that stuctmember.h wasn't included.  i believe the docs don't mention
that this is required either.

bryan






More information about the Python-list mailing list