commit 0eea9842da850c2b95d74bf2bb9714ad8bb4d382 Merge: 886ec10e 7ab6310b Author: Damian Johnson atagar@torproject.org Date: Sun Feb 9 19:09:06 2020 -0800
Remove deprecated code
Doubtless there will be more opportunities to simplify, but for now cleaning out the low hanging fruit. Dropping Sphinx documented deprecations and simple TODO comments.
docs/api.rst | 10 +- docs/api/descriptor/export.rst | 5 - docs/api/descriptor/reader.rst | 5 - docs/contents.rst | 5 +- stem/connection.py | 59 -- stem/control.py | 296 ++-------- stem/descriptor/__init__.py | 37 +- stem/descriptor/bandwidth_file.py | 5 +- stem/descriptor/certificate.py | 56 +- stem/descriptor/export.py | 111 ---- stem/descriptor/extrainfo_descriptor.py | 10 +- stem/descriptor/hidden_service.py | 49 +- stem/descriptor/hidden_service_descriptor.py | 4 - stem/descriptor/microdescriptor.py | 20 +- stem/descriptor/networkstatus.py | 58 +- stem/descriptor/reader.py | 563 ------------------- stem/descriptor/remote.py | 145 +---- stem/descriptor/router_status_entry.py | 26 +- stem/descriptor/server_descriptor.py | 123 +--- stem/directory.py | 12 +- stem/exit_policy.py | 69 +-- stem/manual.py | 89 +-- stem/process.py | 28 +- stem/response/events.py | 83 +-- stem/socket.py | 41 -- stem/util/connection.py | 22 +- stem/util/log.py | 31 - stem/util/proc.py | 17 - stem/util/str_tools.py | 14 - stem/util/system.py | 19 - stem/util/term.py | 6 - stem/util/test_tools.py | 20 +- stem/version.py | 63 +-- test/integ/connection/authentication.py | 19 +- test/integ/connection/connect.py | 48 +- test/integ/control/controller.py | 39 +- test/integ/process.py | 21 +- test/integ/response/protocolinfo.py | 4 +- test/integ/socket/control_message.py | 1 - test/integ/util/connection.py | 1 - test/require.py | 6 +- test/settings.cfg | 3 - test/unit/control/controller.py | 174 ------ test/unit/descriptor/export.py | 94 ---- test/unit/descriptor/hidden_service_v2.py | 7 - test/unit/descriptor/microdescriptor.py | 6 - .../networkstatus/directory_authority.py | 10 +- test/unit/descriptor/networkstatus/document_v3.py | 8 +- test/unit/descriptor/reader.py | 625 --------------------- test/unit/descriptor/remote.py | 16 +- test/unit/descriptor/router_status_entry.py | 3 +- test/unit/descriptor/server_descriptor.py | 33 -- test/unit/exit_policy/policy.py | 83 +-- test/unit/response/events.py | 49 +- test/unit/util/connection.py | 34 +- test/unit/util/log.py | 13 +- 56 files changed, 239 insertions(+), 3159 deletions(-)
tor-commits@lists.torproject.org