FICHA · MANJARO

python-stopit

Library to raise asynchronous exceptions in other thread, control the timeout of blocks or callables

  • Library
  • Dev
  • Dependency only
official+codex · reviewed · May 28, 2026 description in en

Description

Controls timeouts for Python blocks or callables and can raise asynchronous exceptions in another thread. It helps tests and automation limit operations that may otherwise run too long.

Developers use it as a library, but thread interruption is delicate. Use it carefully because asynchronous exceptions can leave shared state, locks, or files in an unexpected condition.

Permissions

Permissions not analysed for this source yet.