all options
bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Source: wurlitzer  ]

Пакунок: python3-wurlitzer (3.1.1-1)

Links for python3-wurlitzer

Screenshot

Debian Resources:

Download Source Package wurlitzer:

Maintainers:

External Resources:

Similar packages:

Capture C-level output in context managers

A common task in Python (especially while testing or debugging) is to redirect sys.stdout to a stream or a file while executing some piece of code. However, simply "redirecting stdout" is sometimes not as easy as one would expect. In particular, things become interesting when you want C code running within your Python process (including, but not limited to, Python modules implemented as C extensions) to also have its stdout redirected according to your wish. This turns out to be tricky and leads us into the interesting world of file descriptors, buffers and system calls.

This package supports redirecting this output in a straightforward way using a context manager.

Інші пакунки пов'язані з python3-wurlitzer

  • depends
  • recommends
  • suggests
  • enhances

Завантажити python3-wurlitzer

Завантаження для всіх доступних архітектур
Архітектура Розмір пакунка Розмір після встановлення Файли
all 13.3 kB46.0 kB [список файлів]