[issue20768] pyconfig.h #defines macros in global namespace

2014-02-25 Thread Felipe Sateler
New submission from Felipe Sateler: I reported the following in the debian bug tracker[1], and it was requested that I report it here. pyconfig.h has definitions like the following: #define HAVE_DIRENT_H 1 #define HAVE_DLFCN_H 1 These are the general form feature test macros take in

[issue20768] pyconfig.h #defines macros in global namespace

2014-02-25 Thread Felipe Sateler
Felipe Sateler added the comment: I'm sorry but I definitely don't have time or knowledge about python to propose a patch (simply removing pyconfig.h clearly doesn't work). As to the question, please clarify. I have a python module, which includes Python.h, which includes pyco