]> git.ipfire.org Git - thirdparty/tornado.git/commit
iostream: Use file objects instead of raw descriptors in PipeIOStream
authorAntoine Pitrou <antoine@python.org>
Sun, 22 Oct 2017 17:05:41 +0000 (19:05 +0200)
committerBen Darnell <ben@bendarnell.com>
Sun, 14 Jan 2018 19:49:35 +0000 (14:49 -0500)
commit81dd461da39e7dd9dcd060a958437795bafeb533
tree01408181dbee1b902d564d95adea73d9d06b8f7b
parentf5df1e4df7ca149342957f71bf4f98710f6cccdf
iostream: Use file objects instead of raw descriptors in PipeIOStream

This makes the implementation of PipeIOStream more compatible with
socket streams, and allows for more of the test suite to be used with
it.

Extracted from PR #2193
tornado/iostream.py
tornado/test/iostream_test.py