[Python-checkins] [python/cpython] b9c3da: bpo-24744: Raises error in pkgutil.walk_packages i...
GitHub
noreply at github.com
Tue Jun 13 13:11:15 EDT 2017
Branch: refs/heads/master
Home: https://github.com/python/cpython
Commit: b9c3da5c89c66dcccf382e8f196746da2a06d4cc
https://github.com/python/cpython/commit/b9c3da5c89c66dcccf382e8f196746da2a06d4cc
Author: Sanyam Khurana <CuriousLearner at users.noreply.github.com>
Date: 2017-06-13 (Tue, 13 Jun 2017)
Changed paths:
M Doc/whatsnew/3.7.rst
M Lib/pkgutil.py
M Lib/test/test_pkgutil.py
M Misc/NEWS
Log Message:
-----------
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.
More information about the Python-checkins
mailing list