summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2004-08-13 18:46:24 (GMT)
committerBrett Cannon <bcannon@gmail.com>2004-08-13 18:46:24 (GMT)
commitb3de2e13baaac7573720c62276984cba13c01c75 (patch)
tree1bdbfc92073f09a00c617d2f9f04705dbf2936ae /Misc
parent08d786a6086a31139edfbb40769dfebed3c9e7c3 (diff)
downloadcpython-b3de2e13baaac7573720c62276984cba13c01c75.zip
cpython-b3de2e13baaac7573720c62276984cba13c01c75.tar.gz
cpython-b3de2e13baaac7573720c62276984cba13c01c75.tar.bz2
'inspect' was not listing the functions in a module properly if the module was
reached through a symlink (was comparing path of module to path to function and were not matching because of the symlink). os.path.realpath() is now used to solve this discrepency. Closes bug #570300. Thanks Johannes Gijsbers for the fix.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index c1c7867..9ee0449 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -41,6 +41,10 @@ Extension modules
Library
-------
+- bug #570300: Fix inspect to resolve file locations using os.path.realpath()
+ so as to properly list all functions in a module when the module itself is
+ reached through a symlink. Thanks Johannes Gijsbers.
+
- doctest refactoring continued. See the docs for details. As part of
this effort, some old and little- (never?) used features are now
deprecated: the Tester class, the module is_private() function, and the