[Python-checkins] r78341 - in python/branches/release31-maint: Lib/trace.py Misc/NEWS

andrew.kuchling python-checkins at python.org
Mon Feb 22 23:21:05 CET 2010


Author: andrew.kuchling
Date: Mon Feb 22 23:21:05 2010
New Revision: 78341

Log:
Merged revisions 78340 via svnmerge from 
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r78340 | andrew.kuchling | 2010-02-22 17:16:58 -0500 (Mon, 22 Feb 2010) | 1 line
  
  #6666: fix bug in trace.py that applied the list of ignored dirs only to 1st file
........


Modified:
   python/branches/release31-maint/   (props changed)
   python/branches/release31-maint/Lib/trace.py
   python/branches/release31-maint/Misc/NEWS

Modified: python/branches/release31-maint/Lib/trace.py
==============================================================================
--- python/branches/release31-maint/Lib/trace.py	(original)
+++ python/branches/release31-maint/Lib/trace.py	Mon Feb 22 23:21:05 2010
@@ -117,7 +117,7 @@
         self._mods = modules or []
         self._dirs = dirs or []
 
-        self._dirs = map(os.path.normpath, self._dirs)
+        self._dirs = list(map(os.path.normpath, self._dirs))
         self._ignore = { '<string>': 1 }
 
     def names(self, filename, modulename):

Modified: python/branches/release31-maint/Misc/NEWS
==============================================================================
--- python/branches/release31-maint/Misc/NEWS	(original)
+++ python/branches/release31-maint/Misc/NEWS	Mon Feb 22 23:21:05 2010
@@ -82,6 +82,9 @@
 Library
 -------
 
+- Issue #6666: fix bug in trace.py that applied the list of directories
+  to be ignored only to the first file.  Noted by Bogdan Opanchuk.
+
 - Issue #7597: curses.use_env() can now be called before initscr().
   Noted by Kan-Ru Chen.
 


More information about the Python-checkins mailing list