Alex Grönholm
Alex Grönholm
That was my conclusion as well. So this can only be implemented when Python itself supports `tls-exporter`.
I can think of a couple ways to fix this: 1. Default `use_uvloop` to `False` 2. Have `start_blocking_portal()` detect asyncio and pass `uvloop=False` explicitly I'm kinda partial to the first...
Yeah, we have already copied the source of `asyncio.run()` for py3.6, but we could start using that for all Python versions. I think that also enables us to drop the...
What's the benefit of that?
Given this constraint, maybe we should 1) deprecate the `policy` and `uvloop` asyncio options and set `uvloop=False` by default?
It's not clear to me what AnyIO should do on py < 3.11.
Sorry I missed this. Can you elaborate on what difficulties you are experiencing? Is level cancellation the issue? I'm not sure this is related, but I have indeed planned a...
> I'm talking more along the lines of calling into the current backend (whatever that may be) while preserving anyio semantics, rather than into asyncio specifically. I think there is...
Depends. The biggest gotcha is whether it uses `await` while cleaning up (usually, within a `finally` block). That would be a problem because the task would adhere to AnyIO semantics...
Yeah, you need something extra for that. Your implementation seems a bit unnecessarily complex though – wouldn't it be enough to just `await` on the task, potentially cancelling it if...