[issue41149] Threads can fail to start

2021-02-02 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue41149] Threads can fail to start

2021-02-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 01c4fddc4b2ac707f226e0bd92679588d2252cc4 by BarneyStratford in branch 'master': bpo-41149: Fix a bug in threading that causes fals-y threads callables to fail to start. (GH-21201) https://github.com/python/cpython/commit/01c4fddc4b2ac707

[issue41149] Threads can fail to start

2020-06-28 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 1.0 -> 2.0 pull_requests: +20356 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21201 ___ Python tracker _

[issue41149] Threads can fail to start

2020-06-28 Thread Barney Stratford
New submission from Barney Stratford : >>> import threading >>> class foo (object): ... def __bool__ (self): ... return False ... def __call__ (self): ... print ("Running") ... >>> threading.Thread (target = foo ()).start () The expected result of these commands would be