Skip to content
Sections
>> Trisquel >> Пакеты >> aramo >> python >> python3-wurlitzer
aramo  ]
[ Источник: wurlitzer  ]

Пакет: python3-wurlitzer (3.0.2-4)

Ссылки для python3-wurlitzer

python3-wurlitzer

Ресурсы Trisquel:

Исходный код wurlitzer:

Сопровождающий:

Original Maintainers:

  • Debian Python Team
  • Alexandre Marie
  • Picca Frédéric-Emmanuel
  • Julian Gilbey

Внешние ресурсы:

Подобные пакеты:

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

  • зависимости
  • рекомендации
  • предложения
  • dep: python3
    interactive high-level object-oriented language (default python3 version)

Загрузка python3-wurlitzer

Загрузить для всех доступных архитектур
Архитектура Размер пакета В установленном виде Файлы
all 10,1 Кб38 Кб [список файлов]