[issue26987] Comment/implementation disagreement in Thread._bootstrap_inner

2016-05-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8842c02c02a2 by Zachary Ware in branch '3.5': Issue #26987: Correct implementation to match comment https://hg.python.org/cpython/rev/8842c02c02a2 New changeset 694dadd9f7bd by Zachary Ware in branch 'default': Closes #26987: Merge with 3.5

[issue26987] Comment/implementation disagreement in Thread._bootstrap_inner

2016-05-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Good catch! Yes, this is just my mistake. Could you please fix this? I can't commit right now. -- ___ Python tracker

[issue26987] Comment/implementation disagreement in Thread._bootstrap_inner

2016-05-09 Thread Zachary Ware
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