| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
https://github.com/eventlet/eventlet/issues/94
We have to defang the listener after removing it from the hub
Otherwise we never actaully remove it from the hub and get a return of the
second simultanous read.
This should fix this issue.
Turn off __builtin__ monkey patching by default
The reason is that eventlet.greenio.GreenPipe tries to
adapt an original file f, and performs the following check
isinstance(f, file) f is an original file object with file
is now our file method. This fails causing TypeError
nova-api exercises this
Fix up zmq to use the extended add signature
Having heard no problems relating eventlet and zmq,
I'm not going to dive in and drop random pataches against
it. If the 'Second simultaneous *er' crops up against
zmw then we at least now have the machinery to
address it.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
https://github.com/eventlet/eventlet/issues/94
Because of the way paramiko utilises a client thread to manage its
communication, it's not been compatible with eventlet when run in
parallel.
It's not the only place these problems would arise.
This stemmed from the reuse of a fileno by the underlying OS.
Because listeners are registered against this descriptor, it would
be possible for old listeners to receive events destined for newer
descriptors; occasionally code would attempt to utilise the new
descriptor from a different greenlet, giving rise to the 'second
simultaneous read' problem.
Whenever a Python object is created to wrap one of these filenos,
we now signal the hub in order that it can correctly obsolete
extant listeners against that fileno. This is a fairly tricky
operation, due to the way that listeners' threads are interleaved
with the hub's operation - there are a number of small fixes here
to defend against one listener from effectively obsoleting another
when an event is pending against it.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
Closes GH-102
Closes GH-103
Closes GH-104
|
| |
|
|
|
|
|
| |
Also:
- PEP-8
- check both EAGAIN/EWOULDBLOCK
- use system implementation of GreenPipe.readinto()
|
| |
|
|
| |
https://github.com/eventlet/eventlet/issues/101
|
| |
|
|
|
|
|
|
|
| |
https://github.com/eventlet/eventlet/pull/64
Also:
- PEP8
- except Exception
- .put() must not catch SystemExit
|
| | |
|
| | |
|
| |
|
|
|
|
| |
In PyPy 2.3 socket.socket has no _sock property which causes eventlet
failures.
https://github.com/eventlet/eventlet/pull/97
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- __next__ for iterator interface
- six.next() to get next item
- list(dict.keys())
- popen2.popen4 -> subprocess
- s2b -> b"..." literals
- deprecated assertEquals -> assertEqual
- hub_test test_fork using run_python
- 1L -> 1 long literal
- many PEP-8 fixes
|
| |
|
|
| |
Tox: PYTHONDONTWRITEBYTECODE = 1
|
| | |
|
| |
|
|
|
|
|
| |
- dict.items().pop() in proc
- str/bytes in backdoor, api_test, ssl_test, test__refcount
- import httplib from six
- PEP-8 fixes
|
| |
|
|
|
| |
For now, pep8 check is only run for some files known to be clean,
we should clean the rest and enable pep8 check for all files then.
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
Setting this to False provides compatibility with broken clients
which expect response header names in particular case, such as
ETag by AWS Java SDK.
https://github.com/eventlet/eventlet/issues/80
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
| |
Compatibility with gevent.
https://github.com/eventlet/eventlet/pull/82
|
| |
|
|
|
|
| |
https://github.com/eventlet/eventlet/pull/82
Celery could work with eventlet in Python3 now
|
| | |
|
| |
|
|
| |
https://github.com/eventlet/eventlet/pull/59
|
| |
|
|
|
| |
https://bitbucket.org/gutworth/six
http://pythonhosted.org/six/
|
| |
|
|
| |
This fixes GitHub issue #54
|
| |
|
|
| |
https://bitbucket.org/eventlet/eventlet/issue/162/eventletgreenprofile-can-not-accumulate
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
This fixes GitHub issue #73
|
| | |
|
| | |
|
| |
|
|
| |
.with_traceback() is not backward compatible, so left to on-demand 2to3 run
|
| |
|
|
| |
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://bitbucket.org/eventlet/eventlet/issue/158/eventlet-pooled-psycopg2-connections-wont
|
| | |
|
| | |
|
| |
|
|
| |
sends so)
|
| |
|
|
|
|
|
|
| |
The application can set environ['eventlet.minimum_write_chunk_size']
which will override the minimum_chunk_size set on server initialization
for a single request.
https://bitbucket.org/eventlet/eventlet/pull-request/37/allow-minimum_chunk_size-to-be-overriden
|
| |
|
|
|
|
| |
Megies; Fixes GH-47
https://github.com/eventlet/eventlet/issues/47
|