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
<https://bugs.python.org/issue23097>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com