[Python-Dev] #include "Python.h"
Andrea Crotti
andrea.crotti.0 at gmail.com
Sun Jan 29 16:34:38 CET 2012
I have a newbie question about CPython.
Looking at the C code I noted that for example in tupleobject.c there is
only one include
#include "Python.h"
Python.h actually includes everything as far as I can I see so:
- it's very hard with a not-enough smart editor to find out where the
not-locally defined symbols are actually defined (well sure that is
not a problem for most of the people)
- if all the files include python.h, doesn't it generate very big object
files? Or is it not a problem since they are stripped out after?
Thanks,
Andrea
More information about the Python-Dev
mailing list