python-trio / trio-asyncio

a re-implementation of the asyncio mainloop on top of Trio

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

run function does not return value

lordi opened this issue · comments

Unlike trio.run, trio_asyncio.run does not return the return value of async_fn. I looked at the code and I can't find any reason why it shouldn't.
I'd prefer that the return value is returned, so that trio_asyncio.run can be used as a drop-in replacement for trio.run.

Fix committed, commit d300ff8