diff options
| author | Jakub Stasiak <jakub@stasiak.at> | 2014-11-02 12:29:13 +0000 |
|---|---|---|
| committer | Jakub Stasiak <jakub@stasiak.at> | 2014-11-04 23:56:59 +0000 |
| commit | 01093df590b12cc0ee6aa46c2aaf87458cf3ce78 (patch) | |
| tree | 1fac4642a37bc85e338fc10c184421476e455be7 /examples | |
| parent | 67cde41d03c0bccb12fd7d5f6d7e155d6da95e40 (diff) | |
| download | eventlet-python3-clean.tar.gz | |
Python 3 compat; Improve WSGI, WS, threading and testspython3-clean
This includes:
* patching more tests to pass
* removing few unit tests which I think are redundant
* repeating SSL socket reads in a loop to read all data (I suspect this
is related to the fact that writelines is used in the server code
there and Python 3 writelines calls write/send repeatedly while on
Python 2 it calls it once; on one hand there's no guarantee that
single recv/read will return all data sent by the server, on the other
hand it's quite suspicious that the number of required reads seems to
be connected to the number of sends on the other side of the
connection)
* working through Python 2/Python 3 threading and thread differences;
the lock code I used is the simplest way I could make the tests
pass but will likely need to be modified in order to match the
original
This commit includes 6bcb1dc3686f72b0f1af803b46883ce4f5e4b8df and closes
GH #153
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions
