[Python-Dev] [Python-checkins] r46064 - in python/trunk: Include/Python.h Include/pyport.h Misc/ACKS Misc/NEWS Modules/_localemodule.c Modules/main.c Modules/posixmodule.c Modules/sha512module.c PC/pyconfig.h Python/thread_nt.h (original) (raw)

"Martin v. Löwis" martin at v.loewis.de
Tue May 23 08:38:08 CEST 2006


Neal Norwitz wrote:

What is the reason for the DONTHAVE* macros? Can we use the HAVE* versions?

I think the actual rationale is that the contributor didn't want to be bothered with modifying configure.in, and running autoconf.

I accepted the change since systems which don't have, say, <errno.h>, are "unusual", in the sense that they aren't standard C systems (as standard C mandates errno.h, atleast in a hosted environment). So far, only one target platform doesn't have these things (Windows CE), so the reasoning is that the burden of setting things right should be on that system.

Of course, it would be fairly straight-forward to convert this to standard autoconf machinery (if one remembers to update PC/pyconfig.h accordingly). I'm sure Luke Dunstan would be willing to revise the patch in that direction if that is agreed.

Regards, Martin



More information about the Python-Dev mailing list