[tor-commits] [stem/master] Plan to rename hidden_service_descriptor module

atagar at torproject.org atagar at torproject.org
Sat Aug 17 20:44:27 UTC 2019


commit f13b5da021ed2caee99b249e20a01e66f9b359aa
Author: Damian Johnson <atagar at torproject.org>
Date:   Fri Aug 9 16:31:27 2019 -0700

    Plan to rename hidden_service_descriptor module
    
    The 'descriptor' suffix is redundant with the directory. I try to keep module
    names short due to import statements, so this is a no-brainer.
---
 stem/descriptor/hidden_service_descriptor.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/stem/descriptor/hidden_service_descriptor.py b/stem/descriptor/hidden_service_descriptor.py
index 1b7f2cc3..99d6414e 100644
--- a/stem/descriptor/hidden_service_descriptor.py
+++ b/stem/descriptor/hidden_service_descriptor.py
@@ -21,6 +21,9 @@ These are only available through the Controller's
 .. versionadded:: 1.4.0
 """
 
+# TODO: In stem 2.x rename this module to 'hidden_service' (ie, drop the
+# redundant '_descriptor' suffix).
+
 import base64
 import binascii
 import collections





More information about the tor-commits mailing list