[Python-Dev] Added a machine-dependent file to the core

Neil Schemenauer nas@python.ca
Mon, 7 May 2001 06:14:52 -0700


Jack Jansen wrote:
> To my surprise I noticed that the whole configure/Makefile.pre.in/setup setup 
> of Python does not allow for an easy addition of a platform-dependent 
> sourcefile to the core interpreter (or am I missing something?).

No, its still a big ugly hack. :-)

> This is a bit of functionality I need to port the various Mac
> modules to MacOSX-python. The platform depende sourcefile has
> various glue routines for turning MacOS error codes into
> exceptions and that sort of stuff.
> 
> Is it OK if I add a MACHDEP_OBJS to PYTHON_OBJS?

How would this work?  Would MACHDEP_OBJS be set by an autoconf
subsitution?

  Neil