[Python-checkins] python/dist/src/Misc NEWS,1.1086,1.1087

bcannon at users.sourceforge.net bcannon at users.sourceforge.net
Fri Aug 13 20:46:27 CEST 2004


Update of /cvsroot/python/python/dist/src/Misc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21072/Misc

Modified Files:
	NEWS 
Log Message:
'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.


Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.1086
retrieving revision 1.1087
diff -C2 -d -r1.1086 -r1.1087
*** NEWS	13 Aug 2004 03:18:29 -0000	1.1086
--- NEWS	13 Aug 2004 18:46:24 -0000	1.1087
***************
*** 42,45 ****
--- 42,49 ----
  -------
  
+ - 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



More information about the Python-checkins mailing list