Message247529
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) |
|
Date |
User |
Action |
Args |
2015-07-28 16:11:28 | sleepycal | set | recipients:
+ sleepycal |
2015-07-28 16:11:28 | sleepycal | set | messageid: <1438099888.11.0.752519898586.issue24744@psf.upfronthosting.co.za> |
2015-07-28 16:11:28 | sleepycal | link | issue24744 messages |
2015-07-28 16:11:27 | sleepycal | create | |
|