[Python-Dev] Importing extensions on Windows 95

Guido van Rossum guido@digicool.com
Mon, 30 Apr 2001 08:21:49 -0500


> Would it be hard to tweak Python into always using absolute search
> paths during module import ?

I resist doing this *in general* because absolute paths don't always
mean the right thing on all platforms (and aren't always obtainable),
but I agree that for Windows this can and should be done.

The easiest way I can think of is for PC/getpathp.py to tweak the path
entries to be absolute pathnames.  A single getcwd() call should
suffice.

--Guido van Rossum (home page: http://www.python.org/~guido/)