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 Andrey Nehaychik
Recipients Andrey Nehaychik, Arfrever, BreamoreBoy, brett.cannon, chris.jerdonek, docs@python, eric.araujo, eric.smith, faassen, gennad, ncoghlan, scorphus
Date 2016-03-11.18:14:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1457720085.09.0.333191047322.issue14787@psf.upfronthosting.co.za>
In-reply-to
Content
Any hope to add the warning in pkgutil docs about this problem? 

For example:
Warning!!! The walk_packages function uses sys.path to import nested packages for provided paths. It means it walks deeply by relative import for subpackages. If you provide path that is not in sys.path as an argument the result won't be correct.
History
Date User Action Args
2016-03-11 18:14:45Andrey Nehaychiksetrecipients: + Andrey Nehaychik, brett.cannon, ncoghlan, eric.smith, eric.araujo, Arfrever, chris.jerdonek, docs@python, BreamoreBoy, gennad, faassen, scorphus
2016-03-11 18:14:45Andrey Nehaychiksetmessageid: <1457720085.09.0.333191047322.issue14787@psf.upfronthosting.co.za>
2016-03-11 18:14:45Andrey Nehaychiklinkissue14787 messages
2016-03-11 18:14:44Andrey Nehaychikcreate