commit | b9c3da5c89c66dcccf382e8f196746da2a06d4cc | [log] [tgz] |
---|---|---|
author | Sanyam Khurana <CuriousLearner@users.noreply.github.com> | Tue Jun 13 22:41:14 2017 +0530 |
committer | R. David Murray <rdmurray@bitdance.com> | Tue Jun 13 13:11:14 2017 -0400 |
tree | cc99f575ae032c7e98b7cc5d1cc707e4b52dc4a2 | |
parent | 1eb6c0074d17f4fd425cacfdda893d65f5f77f0a [diff] |
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.