summaryrefslogtreecommitdiff
path: root/eventlet/green/subprocess.py
Commit message (Collapse)AuthorAgeFilesLines
* Python 3 compat: Improve subprocess, WSGI and testspython3-nextJakub Stasiak2014-10-121-2/+2
|
* PEP-8 fixesSergey Shepelev2014-08-271-0/+1
|
* Python3: __bool__, im_code, im_funcVictor Sergeyev2014-04-241-6/+11
|
* green: subprocess: do not use `new` module for compatibility with Python3Viktors2014-04-151-7/+7
| | | | | | | Module `new` was removed in python 3 so we should remove it's usage due to py3 compability https://github.com/eventlet/eventlet/pull/87
* python3 compat: remove lots of Python 2.5 and earlier dependent code; use ↵Sergey Shepelev2013-12-031-20/+10
| | | | print() function syntax
* python3 compat: 2to3: `except E as e:` syntaxDavanum Srinivas2013-12-031-1/+1
| | | | | | | First step to Python 3 compatibility "2to3 -w -f except ." See [1] [1] http://docs.python.org/2/library/2to3.html#fixers
* green: subprocess: patch _communicate_with_{poll,select} methodsEdward George2013-06-101-0/+9
| | | | | https://github.com/eventlet/eventlet/pull/24 eventlet.green.subprocess.Popen.communicate() was broken in python 2.7
* green: subprocess: Popen.wait accepts new `timeout` kwargSergey Shepelev2013-06-071-3/+26
| | | | | | As in Python 3.3 http://docs.python.org/3.3/library/subprocess.html#subprocess.Popen.wait https://bitbucket.org/eventlet/eventlet/issue/89/add-a-timeout-argument-to-subprocesspopen https://bitbucket.org/eventlet/eventlet/pull-request/30
* Don't attempt to wrap GreenPipes in GreenPipeSoren Hansen2011-02-141-1/+1
| | | | | | | If the os module is monkeypatched, Python's standard subprocess module will return greenio.GreenPipe instances for Popen objects' stdin, stdout, and stderr attributes. However, eventlet.green.subprocess tries to wrap these attributes in another greenio.GreenPipe, which GreenPipe refuses.
* A wrapper method to correctly handle the default value for input on 2.4.Ryan Williams2010-07-231-1/+3
|
* Reimplemented GreenPipe without using file object.amajorek2010-03-301-7/+3
| | | | | | | | file.write is not returning number of bytes writen and partial writes were not handled properly. New implementation is using os module calls which support partial writes. It also implements missing calls from file object (like seek, tell, truncate, ...). The later is not very usefull, because regular files never return EAGAIN. New GreenPipe can be constructed from int, string or file object.
* Whitespace fixRyan Williams2010-02-231-1/+1
|
* Fix import errors in green.subprocess relating to version dependencies.Ryan Williams2010-02-081-3/+11
|
* Added eventlet.green.os and its test; rewrote wrap_pipe_with_coroutine_pipe ↵Ryan Williams2010-02-051-8/+6
| | | | to accomodate. Slight changes to eventlet.green.subprocess.
* First cut of eventlet.green.subprocess module. Added stdlib tests as well. ↵Ryan Williams2010-01-291-0/+69
Fixed GreenPipe's incorrect assumption that all callers would use a buflen argument to read().