Charlie Dyson <char...@charliedyson.net> 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 <rep...@bugs.python.org> <https://bugs.python.org/issue23097> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com