L. Kärkkäinen

Results 252 comments of L. Kärkkäinen

Around the time when I reported this there was a discussion about it that I am no longer able to find. IIRC, VSCode did not correctly highlight YAML text blocks...

Decorators are the way Sanic is intended to be used. https://sanic.dev/en/guide/advanced/class-based-views.html#class-based-views are an alternative that doesn't so directly depend on decorators. Also note that you can replace any decorator by...

Basically in CPython deletion should occur immediately when the last reference goes away, and `__del__` would only be called again if it resurrected the object (which is not intended to...

As for the pipelining error, I gather that this should not happen, with redio only returning known-state idle connections to the pool (others should be disconnected). Probably the handling of...

I guess the library could detect that the connection goes down. The error that you are seeing specifically appears because the Redis server says something as it shuts down the...

> Although it triggers a deprecation warning, the `try...except...` block will work when the classes are actually removed in `websockets` package in the future. Checking version of a package requires...

I gather you should use asyncio to set the loop or otherwise execute within its normal bounds, rather than passing loop arguments. It is worth noting that asyncio itself just...

Is there a reason why you wouldn't just use Trio? It seems to have similar goals and everyone could benefit of a joint development effort in the already fragmented Python...

It works with Nginx but while looking to switch to Caddy I found no way to implement it. My Sanic services make use of it. There are clear benefits but...