Execution unit whose own hold would deadlock a new acquire. ``None`` scopes holders to the thread, which the thread-local registry already separates. Async locks override it with the running task, since one event loop thread runs many tasks and only a reacquire from
()
| 1191 | |
| 1192 | @staticmethod |
| 1193 | def _deadlock_scope() -> Hashable | None: |
| 1194 | """ |
| 1195 | Execution unit whose own hold would deadlock a new acquire. |
| 1196 | |
| 1197 | ``None`` scopes holders to the thread, which the thread-local registry already separates. Async locks |
| 1198 | override it with the running task, since one event loop thread runs many tasks and only a reacquire from |
| 1199 | the *same* task can self-deadlock. |
| 1200 | """ |
| 1201 | return None |
| 1202 | |
| 1203 | def _poll_until_acquired( |
| 1204 | self, |