Skip to content

Commit 8f744f9

Browse files
committed
update docs
1 parent 552febb commit 8f744f9

4 files changed

Lines changed: 24 additions & 20 deletions

File tree

docs/source/history.rst

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,26 @@ Release history
44
.. currentmodule:: trio_asyncio
55

66
.. towncrier release notes start
7+
8+
Trio_Asyncio 0.8.1 (2018-08-25)
9+
-------------------------------
10+
11+
Features
12+
~~~~~~~~
13+
14+
- `trio_ayncio` now contains an `allow_asyncio` wrapper which allows you to
15+
seamlessly mix asyncio and trio semantics:: from trio_asyncio import run
16+
allow_asyncio async def main(): print("Sleeping 1") await asyncio.sleep(1)
17+
print("Sleeping 2") await trio.sleep(1) run(allow_asyncio, main) The problem
18+
with this solution is that Trio's cancellations will no longer be converted
19+
to asyncio's `CancelledError` within asyncio code. This may or may not be an
20+
issue for your code. (`#30
21+
<https://github.com/python-trio/trio-asyncio/issues/30>`__)
22+
23+
24+
Bugfixes
25+
~~~~~~~~
26+
27+
- The test suite requires Python 3.6. :mod:`trio_asyncio` itself requires
28+
Python 3.5.3. (`#33
29+
<https://github.com/python-trio/trio-asyncio/issues/33>`__)

newsfragments/30.feature.rst

Lines changed: 0 additions & 16 deletions
This file was deleted.

newsfragments/33.bugfix.rst

Lines changed: 0 additions & 3 deletions
This file was deleted.

trio_asyncio/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# This file is imported from __init__.py and exec'd from setup.py
22

3-
__version__ = "0.8.1"
3+
__version__ = "0.8.2"

0 commit comments

Comments
 (0)