[issue33148] RuntimeError('Event loop is closed') after cancelling getaddrinfo and closing loop

2018-04-14 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset bba2ba180de91177a73d28551dce71696d472c47 by Benjamin Peterson (Steve Dower) in branch '2.7': bpo-33148: Update Windows build to use OpenSSL 1.0.2o https://github.com/python/cpython/commit/bba2ba180de91177a73d28551dce71696d472c47 -- n

[issue33148] RuntimeError('Event loop is closed') after cancelling getaddrinfo and closing loop

2018-04-14 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +6173 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue33148] RuntimeError('Event loop is closed') after cancelling getaddrinfo and closing loop

2018-03-26 Thread Nathaniel Smith
Nathaniel Smith added the comment: Yeah, getaddrinfo isn't actually cancellable (because it's a blocking call that has to be run in a thread), but it's side-effect-free so if the user requests that it be cancelled then it's safe to return immediately while it keeps running in the background,

[issue33148] RuntimeError('Event loop is closed') after cancelling getaddrinfo and closing loop

2018-03-26 Thread Vitaly Kruglikov
New submission from Vitaly Kruglikov : I see this exception on the terminal: ``` exception calling callback for Traceback (most recent call last): File "/usr/local/Cellar/python/3.6.4_3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/concurrent/futures/_base.py", line 324, in _invoke_