[Python-Dev] A bug in pyconfig.h under Linux?
Fernando Perez
fperez.net at gmail.com
Tue Jun 14 17:56:47 CEST 2005
"Martin v. Löwis" wrote:
> Fernando Perez wrote:
>> sorry for posting to this list, but I'm not even 100% sure this is a bug.
>> If it is, I'll gladly post it to SF if you folks want it there.
>
> This is not a bug. Most likely, sc_weave.cpp fails to meet the
> requirement documented in
>
> http://docs.python.org/api/includes.html
>
> "Warning: Since Python may define some pre-processor definitions which
> affect the standard headers on some systems, you must include Python.h
> before any standard headers are included. "
Many thanks to Martin and Jeff Epler for the feedback, and sorry for the noise,
the bug was in weave and not in pyconfig.h.
I was able to fix scipy's weave to respect this constraint, which it didn't in
the case of blitz-enhanced array handling code.
Regards,
f
More information about the Python-Dev
mailing list