deb-python-eventlet/eventlet
nat-goodspeed f572fc9ae2 dagpool: PropagateError was not compatible with pickle
Previous PropagateError.__init__() failed to call Exception.__init__() at all.
Moreover, as described in https://bugs.python.org/issue1692335, setting
self.args is important for an Exception subclass with nonstandard constructor
arguments.

When an Exception subclass sets self.args, it makes the subclass pickleable --
but instead of str(instance) returning the string passed to
Exception.__init__(), it instead returns the string representation of
self.args. So capture the message string, and in addition to passing it to
Exception.__init__(), also override __str__() and return the same string.

https://github.com/eventlet/eventlet/pull/359
2016-12-04 22:55:58 +03:00
..
green ssl: Fix "TypeError: read() argument 2 must be read-write bytes-like object, not None" 2016-09-26 15:09:41 +01:00
greenio greenio: _recv_loop behaviour with recv_into on closed sock 2016-10-28 00:18:15 +03:00
hubs hub: Python2 _obsolete() was copying dicts, use six.iteritems 2016-05-24 13:57:27 +05:00
support greendns: Return answers from /etc/hosts despite nameserver errors 2016-11-09 08:39:16 +03:00
__init__.py v0.19.0 release 2016-05-02 21:24:07 +05:00
backdoor.py Fix whitespace to conform to our linting tests 2016-01-12 09:34:04 +01:00
convenience.py convenience: listen() sets SO_REUSEPORT when available; Thanks to Zhengwei Gao 2016-10-28 01:09:40 +03:00
corolocal.py PEP-8 fixes 2014-08-27 10:21:55 +04:00
coros.py Remove most of the deprecated code 2014-10-10 08:53:11 +01:00
dagpool.py dagpool: PropagateError was not compatible with pickle 2016-12-04 22:55:58 +03:00
db_pool.py db_pool.BaseConnectionPool.clear updates .current_size #139 2014-12-21 02:37:36 +03:00
debug.py python3 compat: remove lots of Python 2.5 and earlier dependent code; use print() function syntax 2013-12-03 22:36:29 +04:00
event.py Fix typos detected by toolkit misspellings 2015-02-07 16:41:47 +01:00
greenpool.py PEP-8 fixes 2014-08-27 10:21:55 +04:00
greenthread.py Improve PEP8 conformance 2014-11-11 23:37:09 +00:00
patcher.py patcher: green existing locks fail (Python3) 2016-12-01 01:34:14 +03:00
pools.py PEP-8 fixes 2014-08-27 10:21:55 +04:00
queue.py python3: Stdlib_Queue from six.moves 2015-10-13 14:50:10 +03:00
semaphore.py Semaphore.acquire() accepts timeout=-1 2015-04-05 03:32:57 +03:00
timeout.py Python 3 compat: Improve subprocess, WSGI and tests 2014-10-13 22:05:09 +01:00
tpool.py tpool: isolate internal socket from default timeout; Thanks to Alex Villacís Lasso 2016-08-10 11:23:54 +05:00
websocket.py websocket: support Gunicorn environ['gunicorn.socket'] 2016-07-06 18:53:53 +05:00
wsgi.py wsgi: Unix socket address representation; Thanks to Samuel Merritt 2016-08-20 12:59:45 +05:00