diff options
author | Brett Cannon <brett@python.org> | 2013-01-11 20:40:12 (GMT) |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2013-01-11 20:40:12 (GMT) |
commit | a9976b3e32b612e33dc9f6d8874a88d028de7424 (patch) | |
tree | ee962bc60d43e5702d88347cebd3a4aa4a00f515 /Misc | |
parent | 8762595ef3fd807a67be4a97e0e5815d2abb0521 (diff) | |
download | cpython-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/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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. |