Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bring trio-asyncio into the next decade #66

Merged
merged 22 commits into from
Jan 11, 2020
Merged
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
ecb8181
[WIP] Attempt to fix CI
oremanj Jan 4, 2020
20f08e2
Run asyncio tests using the installed Python
oremanj Jan 5, 2020
43e8d68
Add missing files
oremanj Jan 6, 2020
41a3397
Use greenlet instead of threading for sync loop; document and update …
oremanj Jan 6, 2020
2798541
Add dependency on greenlet
oremanj Jan 6, 2020
e371720
Revert greenlet change; make sync loop close() actually terminate the…
oremanj Jan 6, 2020
a46f566
Put warning args in the right order
oremanj Jan 6, 2020
4ef8e3e
Ignore DeprecationWarnings about loop= arg on 3.8
oremanj Jan 6, 2020
0e35011
Reorganize CI matrix
oremanj Jan 6, 2020
1df6bba
Nerf threading_cleanup so tests (esp on 3.8) don't take so long
oremanj Jan 6, 2020
005ac02
xfail two run_coroutine_threadsafe tests on 3.8
oremanj Jan 6, 2020
d721247
yapfify
oremanj Jan 6, 2020
32e156a
Add a few more skips; move -Werror into pytest.ini so the particular …
oremanj Jan 6, 2020
79870ec
Don't skip tests that don't exist
oremanj Jan 6, 2020
3ef2f52
Import selectors; don't leak threads
oremanj Jan 6, 2020
b609b6b
Don't crash if a test we're trying to skip doesn't exist
oremanj Jan 6, 2020
4a838aa
Prevent crashes in __del__
oremanj Jan 6, 2020
580ac8a
capitalize EPollEventLoop correctly; 3.5 backcompat for async generators
oremanj Jan 6, 2020
39e7eb1
Hopefully-final pass of xfail tweaking
oremanj Jan 6, 2020
18c6429
Clarify versions that encounter SSL errors
oremanj Jan 6, 2020
1a81e4f
Mention new test matrix in the README
oremanj Jan 6, 2020
ecffc85
Mention fixing the deprecation errors
oremanj Jan 11, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Mention new test matrix in the README
  • Loading branch information
oremanj committed Jan 6, 2020
commit 1a81e4f1c77511f562d4f5380546a808cc45a4dc
8 changes: 4 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,18 @@
**Trio-Asyncio** is a re-implementation of the ``asyncio`` mainloop on top of
Trio.

Trio-Asyncio requires Python 3.6 or 3.7. It should work on Python 3.5.3, but
that's not tested, as the test suite requires 3.6.
Trio-Asyncio requires at least Python 3.5.3. It is tested on recent versions of
3.5, 3.6, 3.7, 3.8, and nightly.

+++++++++++
Rationale
+++++++++++

Trio has native concepts of tasks and task cancellation. Asyncio is based
on callbacks and chaining Futures, albeit with nicer syntax, which make
handling of failures and timeouts fundamentally less reliable, esp. in
handling of failures and timeouts fundamentally less reliable, especially in
larger programs. Thus, you *really* want to base your async project on Trio.

On the other hand, there are quite a few asyncio-enhanced libraries. You
*really* don't want to re-invent any wheels in your project.

Expand Down