| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
| |
print() function syntax
|
| |
|
|
|
|
|
| |
First step to Python 3 compatibility
"2to3 -w -f except ." See [1]
[1] http://docs.python.org/2/library/2to3.html#fixers
|
| |
|
|
|
| |
https://github.com/eventlet/eventlet/pull/24
eventlet.green.subprocess.Popen.communicate() was broken in python 2.7
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
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.
|
| | |
|
| |
|
|
|
|
|
|
| |
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.
|
| | |
|
| | |
|
| |
|
|
| |
to accomodate. Slight changes to eventlet.green.subprocess.
|
|
|
Fixed GreenPipe's incorrect assumption that all callers would use a buflen argument to read().
|