[Python-Dev] module extension search order - can it be changed?

Skip Montanaro skip@pobox.com
Mon, 24 Feb 2003 21:54:55 -0600

While trying to figure out why so many stat() calls fail before locating a
module, it occurred to me that since most modules are written in Python it
makes sense to consider ".py" files before ".so" and "module.so" files.
Would changing the search order be possible or would it break something?