Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(197)

Side by Side Diff: third_party/twisted_8_1/twisted/internet/stdio.py

Issue 12261012: Remove third_party/twisted_8_1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 # -*- test-case-name: twisted.test.test_process.ProcessTestCase.testStdio -*-
2
3 # Copyright (c) 2001-2004 Twisted Matrix Laboratories.
4 # See LICENSE for details.
5
6 """
7 Standard input/out/err support.
8
9 This module exposes one name, StandardIO, which is a factory that takes an
10 IProtocol provider as an argument. It connects that protocol to standard input
11 and output on the current process.
12
13 It should work on any UNIX and also on Win32 (with some caveats: due to
14 platform limitations, it will perform very poorly on Win32).
15
16 Future Plans::
17
18 support for stderr, perhaps
19 Rewrite to use the reactor instead of an ad-hoc mechanism for connecting
20 protocols to transport.
21
22
23 Maintainer: U{James Y Knight <mailto:foom@fuhm.net>}
24 """
25
26 from twisted.python.runtime import platform
27
28 if platform.isWindows():
29 from twisted.internet._win32stdio import StandardIO
30 else:
31 from twisted.internet._posixstdio import StandardIO
OLDNEW
« no previous file with comments | « third_party/twisted_8_1/twisted/internet/ssl.py ('k') | third_party/twisted_8_1/twisted/internet/task.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698