[Python-Dev] Multiple Inclusion of Header Files
Guido van Rossum
guido@python.org
Fri, 11 Oct 2002 09:40:53 -0400
> However, I note that Boost.Python has to #include <patchlevel.h> because
> we have to apply workarounds before #including <Python.h> for certain
> versions of Python, so I wouldn't say that it's very unrealistic to think
> applications might need these files separately.
But this works fine without the protection; probably because
patchlevel.h contains no C code, only preprocessor stuff.
--Guido van Rossum (home page: http://www.python.org/~guido/)