[New-bugs-announce] [issue26987] Comment/implementation disagreement in Thread._bootstrap_inner

Zachary Ware report at bugs.python.org
Mon May 9 12:26:28 EDT 2016


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 <report at bugs.python.org>
<http://bugs.python.org/issue26987>
_______________________________________


More information about the New-bugs-announce mailing list