diff options
author | Georg Brandl <georg@python.org> | 2010-08-02 21:38:08 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-08-02 21:38:08 +0000 |
commit | 11ce4d98f20c68a82c6d807976f37dec980eb3dc (patch) | |
tree | 98c4b8562eaf5195ad894151a3c44822ac879e79 /Lib/trace.py | |
parent | fb2c459ab239f65a906358222f12f623e22a3195 (diff) | |
download | cpython-git-11ce4d98f20c68a82c6d807976f37dec980eb3dc.tar.gz |
Merged revisions 83525 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83525 | georg.brandl | 2010-08-02 14:36:24 +0200 (Mo, 02 Aug 2010) | 1 line
Get rid of spurious "threading" entries in trace output.
........
Diffstat (limited to 'Lib/trace.py')
-rw-r--r-- | Lib/trace.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/trace.py b/Lib/trace.py index 5f124d92ad..43a5d33561 100644 --- a/Lib/trace.py +++ b/Lib/trace.py @@ -494,8 +494,8 @@ class Trace: import __main__ dict = __main__.__dict__ if not self.donothing: - sys.settrace(self.globaltrace) threading.settrace(self.globaltrace) + sys.settrace(self.globaltrace) try: exec cmd in dict, dict finally: @@ -507,8 +507,8 @@ class Trace: if globals is None: globals = {} if locals is None: locals = {} if not self.donothing: - sys.settrace(self.globaltrace) threading.settrace(self.globaltrace) + sys.settrace(self.globaltrace) try: exec cmd in globals, locals finally: |