This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Arfrever
Recipients Arfrever, brett.cannon, docs@python, ezio.melotti, ncoghlan
Date 2011-09-25.21:05:33
SpamBayes Score 0.021597274
Marked as misclassified No
Message-id <1316984733.77.0.135974751185.issue13048@psf.upfronthosting.co.za>
In-reply-to
Content
It's undocumented that imp.find_module() supports paths with "/" as the first argument:

$ mkdir /tmp/imp_tests
$ cd /tmp/imp_tests
$ mkdir a
$ touch a/b.py
$ python3.3 -c 'import imp; print(imp.find_module("a/b"))'
(<_io.TextIOWrapper name=4 mode='U' encoding='utf-8'>, 'a/b.py', ('.py', 'U', 1))
History
Date User Action Args
2011-09-25 21:05:33Arfreversetrecipients: + Arfrever, brett.cannon, ncoghlan, ezio.melotti, docs@python
2011-09-25 21:05:33Arfreversetmessageid: <1316984733.77.0.135974751185.issue13048@psf.upfronthosting.co.za>
2011-09-25 21:05:33Arfreverlinkissue13048 messages
2011-09-25 21:05:33Arfrevercreate