[issue28864] Add devnull file-like object

Antoine Pitrou report at bugs.python.org
Mon Dec 5 10:46:12 EST 2016


Antoine Pitrou added the comment:

Which begs the question: what's the point? As David said, `open(os.devnull)` is a reasonably obvious way to do it. Is there a use case that it doesn't satisfy?

----------

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


More information about the Python-bugs-list mailing list