[Python-Dev] Multiple Inclusion of Header Files (original) (raw)

Neal Norwitz neal@metaslash.com
Thu, 10 Oct 2002 18:59:54 -0400


From SF #607253, header file problems ( http://python.org/sf/607253 ) is there any reason why these files: graminit.h patchlevel.h pyconfig.h (aka pyconfig.h.in)

don't protect against being included multiple times?

ie, they don't have:

#ifndef Py_FILE_H
#define Py_FILE_H

/* ... */

#endif /* !Py_FILE_H */

Neal