diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2010-02-22 22:21:05 +0000 |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2010-02-22 22:21:05 +0000 |
commit | 54e14f227d44aeefe86d59739ee377a1c06d5ca3 (patch) | |
tree | b8a787595ee27b85f1e463cc3c818de150886a98 | |
parent | 903fc0596297f9326c754008e20ec81fe6c2a786 (diff) | |
download | cpython-git-54e14f227d44aeefe86d59739ee377a1c06d5ca3.tar.gz |
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
........
-rw-r--r-- | Lib/trace.py | 2 | ||||
-rw-r--r-- | Misc/NEWS | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/Lib/trace.py b/Lib/trace.py index 9ce240fde5..e6316b6919 100644 --- a/Lib/trace.py +++ b/Lib/trace.py @@ -117,7 +117,7 @@ class Ignore: 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): @@ -82,6 +82,9 @@ Core and Builtins 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. |