mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
#6666: fix bug in trace.py that applied the list of ignored dirs only to 1st file
This commit is contained in:
parent
561d5aa47f
commit
e1f9bebd99
2 changed files with 4 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
|
|
@ -250,6 +250,9 @@ C-API
|
|||
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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue