Charlie Dyson <> added the comment:

As an aside, should that be sys.path.insert(1, X)? As 0 has a special meaning 
(I've often thought this is a slightly odd convention).

Another aside: I noticed this because I was looking to write a module finder, 
and thought I could extract one out of this function. It would be nice to have 
a module-crawler function, and write discover() in terms of that.

nosy: +cdyson37

Python tracker <>
Python-bugs-list mailing list

Reply via email to