Kound

Results 118 comments of Kound

@davidism I looked a bit in the source code and it seems HTML escaping is quite strong hardcoded in the source code due to the use of markupsafes `Markup` class....

I just added a bit more explanation to the documentation so end users won't run in possible pitfalls. Gave me best to explain it as good and detailed as possible....

On 22-23 July 2023 at the PyCon Europe in Prague I would like to discuss this Issue (together with others) and maybe formulate a PEP. Maybe someone here is interested...

Indeed this is a little improvement but I still need to duplicate things, as I have to create a protocol for existing classes. And I have to manually verify the...

@davidism And here the yearly ping again 😉 . Anything I could do to finally finally get this merged?

> It would be nice if mypy becomes smarter about unions of literals but if you want a quick workaround here you can replace `TimeRange | CreatedRange` by `Literal[TimeRange, CreatedRange]`...

> I ran it using my system terminal and it worked correctly. So VSCode is the problem here. So could you rename the title then?

Related to https://github.com/psf/requests/issues/6159 -> there is also another fix defined there.

I ended up with the following implementation ```python import asyncio import contextlib from collections.abc import AsyncGenerator from filelock import BaseFileLock @asynccontextmanager async def _acquire_lock(fl: BaseFileLock) -> AsyncGenerator[None, None]: """ Acquire...

Any news on this? For the moment I helped myself with this (limited) function. I tried [TypeVarTuple](https://docs.python.org/3/library/typing.html#typing.TypeVarTuple) but couldn't get it to work. ```python from typing import TypeVar, Iterable T1...