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 sleepycal
Recipients sleepycal
Date 2015-07-28.16:11:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1438099888.11.0.752519898586.issue24744@psf.upfronthosting.co.za>
In-reply-to
Content
The documentation states that pkgutil.walk_packages() path must be None or a list of paths [1]. After passing in a string, the result was a blank list rather than a type error or automatic conversion to a list.

If this method is documented that it must only accept a list or None, then there should surely be type checks to this effect? This was a bit of a gotcha that left me head scratching for 30 minutes (after not realising it only took a list, not an str, which in itself seems a bit odd)
History
Date User Action Args
2015-07-28 16:11:28sleepycalsetrecipients: + sleepycal
2015-07-28 16:11:28sleepycalsetmessageid: <1438099888.11.0.752519898586.issue24744@psf.upfronthosting.co.za>
2015-07-28 16:11:28sleepycallinkissue24744 messages
2015-07-28 16:11:27sleepycalcreate