[tor-commits] [stem/master] Tor event handling
atagar at torproject.org
atagar at torproject.org
Mon Dec 3 02:35:44 UTC 2012
commit 42872dd08e81d6b341654ab85969df2ed77a7397
Merge: e1772bb c1e88e4
Author: Damian Johnson <atagar at torproject.org>
Date: Sun Dec 2 18:30:14 2012 -0800
Tor event handling
Merging support for tor's asynchronous events. This isn't entirely complete,
missing...
* STREAM_BW (being added in https://trac.torproject.org/7616)
* BUILDTIMEOUT_SET
* SIGNAL
* CONF_CHANGED
* CIRC_MINOR
... but better not to let the perfect be the enemy of good. This branch was
partly code reviewed by robinson on...
https://trac.torproject.org/7328
docs/api/control.rst | 4 +-
docs/api/response.rst | 5 +
run_tests.py | 4 +
stem/__init__.py | 450 ++++++++++++++++++
stem/control.py | 257 ++++++++++-
stem/descriptor/extrainfo_descriptor.py | 2 +-
stem/descriptor/server_descriptor.py | 2 +-
stem/response/__init__.py | 3 +
stem/response/events.py | 684 +++++++++++++++++++++++++++
stem/util/str_tools.py | 36 ++
stem/util/tor_tools.py | 18 +
test/integ/control/controller.py | 51 ++
test/unit/__init__.py | 1 +
test/unit/control/__init__.py | 6 +
test/unit/control/controller.py | 50 ++
test/unit/response/__init__.py | 1 +
test/unit/response/events.py | 785 +++++++++++++++++++++++++++++++
test/unit/util/str_tools.py | 31 ++
18 files changed, 2378 insertions(+), 12 deletions(-)
More information about the tor-commits
mailing list