[issue38951] Use threading.main_thread() check in asyncio

2019-12-05 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue38951] Use threading.main_thread() check in asyncio

2019-12-05 Thread miss-islington
miss-islington added the comment: New changeset 99eb70a9eb9493602ff6ad8bb92df4318cf05a3e by Miss Islington (bot) (Hill Ma) in branch 'master': bpo-38951: Use threading.main_thread() check in asyncio (GH-17433) https://github.com/python/cpython/commit/99eb70a9eb9493602ff6ad8bb92df4318cf05a3e

[issue38951] Use threading.main_thread() check in asyncio

2019-12-01 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +16912 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17433 ___ Python tracker ___

[issue38951] Use threading.main_thread() check in asyncio

2019-12-01 Thread Andrew Svetlov
Change by Andrew Svetlov : -- versions: -Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38951] Use threading.main_thread() check in asyncio

2019-12-01 Thread Andrew Svetlov
New submission from Andrew Svetlov : Now we use private `isinstance(thread, threading._MainThread)` check. main_thread() function was added in Python 3.4 by me to avoid it. Sorry, I forgot to update asyncio code. The fix is trivial, I very appreciate if somebody will take care. --