Closed DaGenix closed 8 months ago
I'm going to guess this is because https://github.com/python-trio/trio/pull/2700
I haven't checked to see if your sample works before then, but cc @oremanj just in case!
OK so failure bisects to that -- it looks like trio-asyncio
uses current_async_library_cvar
which unfortunately does not take precedence over the new thread_local
mechanism.
OK I'm pretty sure this is a trio-asyncio
issue so transferring this over to there.
The following code works with Trio 0.22.2. However, it fails with 0.23.1: