summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2013-01-11 20:40:12 (GMT)
committerBrett Cannon <brett@python.org>2013-01-11 20:40:12 (GMT)
commita9976b3e32b612e33dc9f6d8874a88d028de7424 (patch)
treeee962bc60d43e5702d88347cebd3a4aa4a00f515 /Misc
parent8762595ef3fd807a67be4a97e0e5815d2abb0521 (diff)
downloadcpython-a9976b3e32b612e33dc9f6d8874a88d028de7424.zip
cpython-a9976b3e32b612e33dc9f6d8874a88d028de7424.tar.gz
cpython-a9976b3e32b612e33dc9f6d8874a88d028de7424.tar.bz2
Issue #16730: Don't raise an exception in
importlib.machinery.FileFinder when the directory has become unreadable or a file. This brings semantics in line with Python 3.2 import. Reported and diagnosed by David Pritchard.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index c324282..d777817 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,11 @@ What's New in Python 3.3.1?
Core and Builtins
-----------------
+- Issue #16730: importlib.machinery.FileFinder now no longers raises an
+ exception when trying to populate its cache and it finds out the directory is
+ unreadable or has turned into a file. Reported and diagnosed by
+ David Pritchard.
+
- Issue #16906: Fix a logic error that prevented most static strings from being
cleared.