]> granicus.if.org Git - python/commit
'inspect' was not listing the functions in a module properly if the module was
authorBrett Cannon <bcannon@gmail.com>
Fri, 13 Aug 2004 18:46:24 +0000 (18:46 +0000)
committerBrett Cannon <bcannon@gmail.com>
Fri, 13 Aug 2004 18:46:24 +0000 (18:46 +0000)
commitb3de2e13baaac7573720c62276984cba13c01c75
tree1bdbfc92073f09a00c617d2f9f04705dbf2936ae
parent08d786a6086a31139edfbb40769dfebed3c9e7c3
'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.
Lib/inspect.py
Misc/NEWS