Binary package “python3-wurlitzer” in ubuntu lunar
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.
Source package
Published versions
- python3-wurlitzer 3.0.2-4 in amd64 (Release)
- python3-wurlitzer 3.0.3-1 in amd64 (Proposed)
- python3-wurlitzer 3.0.3-1 in amd64 (Release)
- python3-wurlitzer 3.0.2-4 in arm64 (Release)
- python3-wurlitzer 3.0.3-1 in arm64 (Proposed)
- python3-wurlitzer 3.0.3-1 in arm64 (Release)
- python3-wurlitzer 3.0.2-4 in armhf (Release)
- python3-wurlitzer 3.0.3-1 in armhf (Proposed)
- python3-wurlitzer 3.0.3-1 in armhf (Release)
- python3-wurlitzer 3.0.2-4 in i386 (Release)
- python3-wurlitzer 3.0.3-1 in i386 (Proposed)
- python3-wurlitzer 3.0.3-1 in i386 (Release)
- python3-wurlitzer 3.0.2-4 in ppc64el (Release)
- python3-wurlitzer 3.0.3-1 in ppc64el (Proposed)
- python3-wurlitzer 3.0.3-1 in ppc64el (Release)
- python3-wurlitzer 3.0.2-4 in riscv64 (Release)
- python3-wurlitzer 3.0.3-1 in riscv64 (Proposed)
- python3-wurlitzer 3.0.3-1 in riscv64 (Release)
- python3-wurlitzer 3.0.2-4 in s390x (Release)
- python3-wurlitzer 3.0.3-1 in s390x (Proposed)
- python3-wurlitzer 3.0.3-1 in s390x (Release)