New submission from Zachary Ware:

The comment at Lib/threading.py:925 notes that sys.stderr should be used if 
possible, but the implementation uses self._stderr in spite of checking 
_sys.stderr is not None.  I believe this was just an oversight in 644b677c2ae5, 
which added the check and also switched from _sys.stderr.write(...) to 
print(... file=...).

----------
components: Library (Lib)
messages: 265208
nosy: serhiy.storchaka, zach.ware
priority: normal
severity: normal
stage: needs patch
status: open
title: Comment/implementation disagreement in Thread._bootstrap_inner
type: behavior
versions: Python 3.5, Python 3.6

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26987>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to