aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2016-05-09 14:50:36 -0500
committerZachary Ware <zachary.ware@gmail.com>2016-05-09 14:50:36 -0500
commite7041fa2158c1c70e5fecb6c56fc9cef0c275fc6 (patch)
tree6c3232b4f0db2d0054a2e82ca058449b385f6324 /Lib/threading.py
parentIssue #25745: Fixed leaking a userptr in curses panel destructor. (diff)
parentIssue #26987: Correct implementation to match comment (diff)
downloadcpython-e7041fa2158c1c70e5fecb6c56fc9cef0c275fc6.tar.gz
cpython-e7041fa2158c1c70e5fecb6c56fc9cef0c275fc6.tar.bz2
cpython-e7041fa2158c1c70e5fecb6c56fc9cef0c275fc6.zip
Closes #26987: Merge with 3.5
Diffstat (limited to 'Lib/threading.py')
-rw-r--r--Lib/threading.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/threading.py b/Lib/threading.py
index 2bf33c12ae3..cab1e708e0e 100644
--- a/Lib/threading.py
+++ b/Lib/threading.py
@@ -923,7 +923,7 @@ class Thread:
# self.
if _sys and _sys.stderr is not None:
print("Exception in thread %s:\n%s" %
- (self.name, _format_exc()), file=self._stderr)
+ (self.name, _format_exc()), file=_sys.stderr)
elif self._stderr is not None:
# Do the best job possible w/o a huge amt. of code to
# approximate a traceback (code ideas from