[New-bugs-announce] [issue28864] Add devnull file-like object

Raymond Hettinger report at bugs.python.org
Sat Dec 3 22:36:35 EST 2016


New submission from Raymond Hettinger:

Uses cases are the same as /dev/null:

with redirect_stderr(io.DevNull()):
    some_func_using_stdout_and_stderr()

----------
messages: 282314
nosy: ncoghlan, pitrou, rhettinger
priority: low
severity: normal
status: open
title: Add devnull file-like object
type: enhancement
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28864>
_______________________________________


More information about the New-bugs-announce mailing list