[Python-Dev] New and Improved Import Hooks

Skip Montanaro skip@pobox.com
Wed, 4 Dec 2002 15:22:48 -0600


    Just> Are you saying that we should fix all cases where non-strings on
    Just> sys.path cause problems, or are you saying that there's so much
    Just> code out there assuming sys.path contains strings, and that we
    Just> therefore should stick with strings?

    Just> Both positions can be defended, and both have their problems.

    ...

I think there is a third position: make sys.path magic somehow (but have it
still (appear to) be a list of strings) so that changes to it affect a
behind-the-scenes list of objects which is normally used to do path-ish
stuff.

Skip