| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This includes changes to WSGI, websocket, bytes/str/unicode handling,
SSL, backdoor, greenio and tests.
Some comments and conditionals (PY2/PY3) were added for clarity
GH issues:
Closes #106
Closes #111
Closes #118
Closes #141
Incidentally should also close #135 (reopen if didn't)
cc #6
|
| |
|
|
| |
Closes GH #144
|
| |
|
|
|
|
| |
Closes GH-102
Closes GH-103
Closes GH-104
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- __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
|
| |
|
|
|
|
|
| |
- dict.items().pop() in proc
- str/bytes in backdoor, api_test, ssl_test, test__refcount
- import httplib from six
- PEP-8 fixes
|
| |
|
|
|
| |
This is particularly useful to not require the external OpenSSL module
in order to run the tests on python2.5.
|
| |
|
|
| |
spelling of 'canceled' -- this only affects internal variables. Also cleaned up the meticulous timer accounting of the hub tests so they stop failing after other tests are run. Also added new parameter to the abort method because it seemed to be the dominant mode of operation.
|
| |\ |
|
| | |
| |
| |
| | |
the basic_usage document a little differently to highlight the convenience functions. Wrote a bunch more serve tests.
|
| |\ \
| |/ |
|
| | | |
|
| |/
|
|
|
|
|
|
|
|
| |
- __import__ used to import system modules in places where local module with the same name exist.
- GreenSocket.timeout private member renamed to _timeout. It is R/O property in 3.x socket.socket object.
- Calls to GreensSocket.timeout changed to call gettimeout to isolate clients from GreenSocket internals.
- GreenSocket access to unknown attributes will be forwarded to fd member. i.e. py3k has _io_refs property not needed in 2.x version
- get_errno moved to eventlet/greenio.py to be accessible to every place where testing socket.error.errno is needed
- Modified tests to use makefile with mode='w' where data was written. 3.x does not allow to write to file opened for reading.
- socket._fileobject class does not exist in 3.x. It will be emulated with _fileobject function. Also moved definition from eventlet.green.socket to eventlet.grreenio.
|
| |
|
|
| |
eventlethub. Fixed up docs to refer to it.
|
| | |
|
| |
|
|
| |
unit test primitives rather than inventing its own.
|
| |
|
|
| |
the direction of better factoring and fewer circular-ish dependencies.
|
| | |
|
| |
|
|
| |
trap_errors.
|
| |
|
|
| |
in the middle of accepting are invalid.
|
| |
|
|
| |
rewrote a test to use sockets instead of pipes
|
| |
|
|
| |
still used tcp_server.
|
| | |
|
| |
|
|
| |
files to give credit instead. Linked authors list into documentation.
|
| |
|
|
| |
particular fileno is in the hub by recording the traceback of when the fileno was added. Enable this mode by doing api.get_hub().debug = True. Tweaked tpool so that it only starts up its thread pool when you actually call execute(). I think this is not a performance hit and it will make it somewhat nicer to use. Some other randomc changes like more explicit package name in test_named so it passes when called from within nose.
|
| | |
|
| | |
|
| |
|
|
| |
longer raise EPIPE into waiting coroutines when closing a socket. api_test was correspondingly changed so it still worked. TestCloseSocketWhilePolling was removed because it was testing no-longer-existing behavior. add_descriptor is gone, replaced by add_reader and add_writer.
|
| |
|