SIGN IN SIGN UP

bpo-24744: Raises error in pkgutil.walk_packages if path is str (#1926)

bpo-24744: Raise error in pkgutil.walk_packages if path is str

Previously an empty result list was accidentallly returned, since the
code iterated over the string as if it were the expected list of paths,
and of course found nothing.
S
Sanyam Khurana committed
b9c3da5c89c66dcccf382e8f196746da2a06d4cc
Parent: 1eb6c00
Committed by R. David Murray <rdmurray@bitdance.com> on 6/13/2017, 5:11:14 PM