File: control

package info (click to toggle)
wurlitzer 3.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 172 kB
  • sloc: python: 609; sh: 15; makefile: 5
file content (34 lines) | stat: -rw-r--r-- 1,531 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Source: wurlitzer
Section: python
Priority: optional
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Uploaders: Alexandre Marie <alexandre.marie@synchrotron-soleil.fr>,
           Picca Frédéric-Emmanuel <picca@debian.org>,
           Julian Gilbey <jdg@debian.org>
Build-Depends: debhelper-compat (= 13),
               dh-sequence-python3,
               python3-all,
               python3-pytest <!nocheck>,
               python3-setuptools
Standards-Version: 4.7.0
Vcs-Git: https://salsa.debian.org/python-team/packages/wurlitzer.git
Homepage: https://github.com/minrk/wurlitzer
Vcs-Browser: https://salsa.debian.org/python-team/packages/wurlitzer
Rules-Requires-Root: no

Package: python3-wurlitzer
Architecture: all
Depends: ${misc:Depends}, ${python3:Depends}
Description: 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.