summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorSanyam Khurana <CuriousLearner@users.noreply.github.com>2017-06-13 17:11:14 (GMT)
committerR. David Murray <rdmurray@bitdance.com>2017-06-13 17:11:14 (GMT)
commitb9c3da5c89c66dcccf382e8f196746da2a06d4cc (patch)
treecc99f575ae032c7e98b7cc5d1cc707e4b52dc4a2 /Misc/NEWS
parent1eb6c0074d17f4fd425cacfdda893d65f5f77f0a (diff)
downloadcpython-b9c3da5c89c66dcccf382e8f196746da2a06d4cc.zip
cpython-b9c3da5c89c66dcccf382e8f196746da2a06d4cc.tar.gz
cpython-b9c3da5c89c66dcccf382e8f196746da2a06d4cc.tar.bz2
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.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index f91695d..31e8ec0 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -362,6 +362,9 @@ Extension Modules
Library
-------
+- bpo-24744: pkgutil.walk_packages function now raises ValueError if *path*
+ is a string. Patch by Sanyam Khurana.
+
- bpo-24484: Avoid race condition in multiprocessing cleanup.
- bpo-30589: Fix multiprocessing.Process.exitcode to return the opposite