Results 203 issues of Dima Tisnek

- [x] coroutines bba748c - [x] Tasks `asyncio.all_tasks` - [x] current task 670b138074e5f4461dd9535fa7a4f2bd9a7d564e - [x] Futures #3 - [ ] Events - [x] asyncio.gather 74d5e7616977f1d6be1003b9a8830403a3c6f7d1..606a965f055ae0493bfc36b133e3d58d5ea43d69 - [ ] asyncio.wait #6...

1a2e438a9c666381c57cb974ff77f0ba836186dc can traverse `asyncio.shield`, i.e. show what's behind the shield that's blocking a given task. This ticket is to explicitly show `shield` as an element in the task traceback or...

help wanted
good first issue

Event loop maintains a set of sockets that are being waited for with callbacks. It should be possible to figure out which task is waiting for which socket. Sockets could...

help wanted

`asyncio.wait` is similar to `asyncio.gather` but supports more functionality: `return_when` (operation mode) can be "first completed" "first exception" or "all completed". we should report the operation mode and what's still...

help wanted

It seem that setting context variables in `on_startup` is not supported. My naïve understanding is that there needs to be a new (copied) context in which all of `on_startup`, asgi...

question

TL;DR let's *not* make it about GIL. Let's call it free-threading or multicore enhancements. I'm for one tired of GIL-flame. (Assume devil's advocate mode) I'd posit that Python has only...

Perhaps gilectomy could learn from databases? https://en.wikipedia.org/wiki/Two-phase_locking has a thorough description and a nice diagram. Perhaps a sensible trade-off could be picked there?

Linux kernel switched from spinlocks to seqlocks to RCU. Perhaps there's a parallel with Python containers, at least. If two threads want to expand dict storage, perhaps it doesn't matter...

"hotspot bias locks" text presents an explanation why CAS is typically fast (doesn't require bus activity if this CPU has the value in a cache line in M state). Perhaps...

For example: ``` In [1]: import asyncio In [2]: l = asyncio.Lock() In [7]: %await_ l # OK In [8]: %await_ l # waits forever, since lock is already taken,...