Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New Features
Add name keyword argument to
loop.create_task()
(by @fantix in d51ce36 for BUG: uvloop.loop.create_task() is missing 'name' parameter #309)
Add typing support
(by @bryanforbes in 9426e2b, for mypy show type hint error #358)
Bug Fixes
SSL: many improvements
(by @fantix in 6476aad, 8beacd2, 98e113e, ae44ec2, @asvetlov in 9bc4a20)
Fix
KeyboardInterrupt
handling logic(by @1st1 in c32c703 for Ignoring KeyboardInterrupt #295, @jack1142 in 8c471f8 for Don't stop the loop in
run_until_complete()
onSystemExit
andKeyboardInterrupt
exceptions #337)Python 3.8/3.9 compatibility fixes, drop support for 3.5/3.6
(by @jack1142 in 2870219 for Deprecation warning when using uvloop.install in python 3.8 #314, @achimnol in 0d14ec6 for Accept path-like objects for subprocess APIs #328, @aeros in 6ef69a7 for Implement shutdown_default_executor() #349, @shadchin in 1fd9066, @fantix in 465717f, 200e140, afc3ee8, cdd2218, b7048b9)
UDP: multiple bug fixes
(by @fantix in 1d9267a for udp sendto not working #319, 9e017e6 for uvloop does not support original unix udp socketpair #304, 506a2aa)
Pipe: a critical crash fix that affects subprocess, pipe and socketpair
(by @fantix in 5d41af8 and @tardyp in c392972 for Assertion failure in uv__io_stop #311 create_subprocess_exec stdin writer does not write everything #312 "Assertion `loop->watchers[w->fd] == w' failed." with multiprocessing and OS pipes #317)
Restore context on protocol callbacks
(by @versusvoid in 7b202cc for contextvars.Context not activated for connection_made() #305, @fantix in f691212)
Subprocess: stdio bug fixes
(by @fantix in 8cdb300 for Cannot use
sys.stdout
increate_subprocess_exec
. #136, @lovasoa in 68db1a2 for subprocess.communicate never returns when the subprocess outputs more than 0xFFFF + 1 bytes #363)Sock: fix issue in
sock_connect()
for large concurrency(by @fantix in fe3d028 for event loop loop forever: make lots of sock_connec at the same time #378)
Misc fixes about docs URL, test typo, and CI compatibility
(by @asfaltboy in 3810530, @felixonmars in fcb3735, @fantix in 6596685)
Build
Check Cython version semantically
(by @YoSTEALTH in 5dc299b)
Add
.flake8
to distribution tarball(by @jlaine in e8eb502 for [0.14.0] build test fails, because missing file .flake8 #330)
Switch to Github actions
(by @elprans in 3be8967, e21ceea, @fantix in 311997e)
Bump libuv to v1.40.0
(by @fantix in 998c19e)