python-async-interrupt 1.1.1-2 source package in Ubuntu

Changelog

python-async-interrupt (1.1.1-2) unstable; urgency=medium

  * Source-only upload to allow package to migrate to testing.

 -- Edward Betts <edward@4angle.com>  Wed, 22 May 2024 20:39:48 +0200

Upload details

Uploaded by:
Debian Python Team
Uploaded to:
Sid
Original maintainer:
Debian Python Team
Architectures:
all
Section:
misc
Urgency:
Medium Urgency

See full publishing history Publishing

Series Pocket Published Component Section

Builds

Oracular: [FULLYBUILT] amd64

Downloads

File Size SHA-256 Checksum
python-async-interrupt_1.1.1-2.dsc 2.3 KiB 362884b97026061dd9199926befc5bb829a0b5b31323f222795a01d82d71e4f7
python-async-interrupt_1.1.1.orig.tar.gz 21.4 KiB 007a108ad665a65bccbaf32c9c08349fd98a70ce40923a26d391f40c10c92af2
python-async-interrupt_1.1.1-2.debian.tar.xz 2.2 KiB 102f68efb21c7a39279f1d8cfa058206490f313ac4f6929f47dbe6cd4cebf8c3

No changes file available.

Binary packages built by this source

python3-async-interrupt: Interrupt context manager for asyncio

 This Python module provides a context manager that can be used to interrupt
 a block of code as soon as possible when a future is done.
 .
 The purpose of async_interrupt is to raise an exception as soon as possible
 to avoid any race conditions. It is based loosely on async_timeout by Andrew
 Svetlov and cpython asyncio.timeout.
 .
 Usage:
 .
  async with interrupt(future, ValueError, "message"):
      future.set_result(None)
      await asyncio.sleep(0)
 .
 This package is useful in scenarios where an exception needs to be raised
 immediately to prevent race conditions during asynchronous operations.