[Python-checkins] r78340 - in python/branches/py3k: Lib/trace.py Misc/NEWS
andrew.kuchling
python-checkins at python.org
Mon Feb 22 23:16:58 CET 2010
Author: andrew.kuchling
Date: Mon Feb 22 23:16:58 2010
New Revision: 78340
Log:
#6666: fix bug in trace.py that applied the list of ignored dirs only to 1st file
Modified:
python/branches/py3k/Lib/trace.py
python/branches/py3k/Misc/NEWS
Modified: python/branches/py3k/Lib/trace.py
==============================================================================
--- python/branches/py3k/Lib/trace.py (original)
+++ python/branches/py3k/Lib/trace.py Mon Feb 22 23:16:58 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/py3k/Misc/NEWS
==============================================================================
--- python/branches/py3k/Misc/NEWS (original)
+++ python/branches/py3k/Misc/NEWS Mon Feb 22 23:16:58 2010
@@ -250,6 +250,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