summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorR. David Murray <rdmurray@bitdance.com>2009-06-23 18:02:46 (GMT)
committerR. David Murray <rdmurray@bitdance.com>2009-06-23 18:02:46 (GMT)
commitef087da9e76c70318f67bd984e1088754e7365a6 (patch)
tree3c8eb3b55a2d891ce8a350b253905daea67d8760 /Misc
parent3a1dbb05a1add85e21205ebbb5003d66eddbd155 (diff)
downloadcpython-ef087da9e76c70318f67bd984e1088754e7365a6.zip
cpython-ef087da9e76c70318f67bd984e1088754e7365a6.tar.gz
cpython-ef087da9e76c70318f67bd984e1088754e7365a6.tar.bz2
Fix issue 5230 by having pydoc's safeimport check to see if the import
error was thrown from itself in order to decide if the module can't be found. Thanks to Lucas Prado Melo for collaborating on the fix and tests.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/ACKS1
-rw-r--r--Misc/NEWS4
2 files changed, 5 insertions, 0 deletions
diff --git a/Misc/ACKS b/Misc/ACKS
index 82cd4a3..5cc07e5 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -479,6 +479,7 @@ Andrew McNamara
Craig McPheeters
Lambert Meertens
Bill van Melle
+Lucas Prado Melo
Luke Mewburn
Mike Meyer
Steven Miale
diff --git a/Misc/NEWS b/Misc/NEWS
index 2985c3a..a4e92f4 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -327,6 +327,10 @@ Core and Builtins
Library
-------
+- Issue #5230: pydoc would report no documentation found if a module generated
+ a 'not found' import error when loaded; it now reports the import errors.
+ Thanks to Lucas Prado Melo for initial fix and collaboration on the tests.
+
- Issue #6314: logging.basicConfig() performs extra checks on the "level"
argument.