[Python-Dev] HP-UX clean-up

Martin v. Loewis martin at v.loewis.de
Wed Jan 7 18:48:20 EST 2004

Zack Weinberg wrote:
> I'm piggybacking on this thread to point out that there are some
> pretty drastic simplifications possible in configure.in.  To give
> examples: it contains its own logic for determining a 'canonical name'
> for the operating system, rather than use AC_CANONICAL_HOST; almost
> all the compile checks are using lower-level macros than they ought
> to; there are several places where AC_DEFUN should be used to
> encapsulate repetitive code, such as the custom checks for functions
> like ctermid_r; there are tests that are completely unnecessary, such
> as "AC_CHECK_SIZEOF (char, 1)" [sizeof(char)==1 is guarantted by the C
> standard].

As Skip says: contributions are welcome. Using a different computation
of the canonical name may not be possible, though, without performing
major changes e.g. to the Lib/plat-* subdirectories.

> Another cleanup that would be nice is to get rid of Modules/Setup and
> related; as I understand it, this is only around because the top level
> setup.py hasn't been finished yet.  (And for a pipe dream, could we
> have a way to set the disabled_module_list from the configure command line?)

Again, as Skip explains: setup.py will never be able to do what
Modules/Setup does. So Modules/Setup must stay, and may survive


More information about the Python-Dev mailing list