Max Kühn

Results 57 comments of Max Kühn

Since we've taken a lot of inspiration from ``trio``, I wanted to throw (back?) in a few cents for the error handling ergonomics... As ``try: raise b; except E: ...``...

Looks like I have to read up on Windows signals a bit. Not sure if the code or test is at fault here.

I need help how to proceed at this point with regards to coverage. The changes are covered by tests, *but* the tests cannot be run on Windows and thus the...

This has turned out to be a real problem for running an optional `uvicorn` based server inside an existing `asyncio` application. Since `Server.serve` finishes gracefully and the original signal handlers...

The inner marker can in principle come in two flavors, sync (``yield from``) and async (``async yield from``). A single async neutral marker might suffice. It appears there are four...

Thanks for this PR! It might take a bit until we have MyPy and Pyright agree but this is very welcome.

Thanks for bringing this up. As a rule of thumb, if a builtin helper already works for the async case it is not duplicated. As far as I can tell,...

``assert`` definitely has its place, so warning for every occurrence seems misleading. The entire point of assertions is that they can be switched off. So one actually should use them...

Is there any chance to get this reopened/addressed? A ``dataclass`` and ``NamedTuple`` really are two different things -- there are many cases where a simple tuple with named fields is...

I've gone over the code and as far as I can tell there is no way to make things *nicely* `async`. Fundamentally, the locking via `_acquire` requires polling and all...