[tor-commits] [stem/master] Citing ticket 4817 in related pydocs

atagar at torproject.org atagar at torproject.org
Wed May 23 17:21:01 UTC 2012


commit f1d58b21fd5fe7dcd8b5330627f7521ac86ffbc0
Author: Damian Johnson <atagar at torproject.org>
Date:   Sun May 20 15:24:22 2012 -0700

    Citing ticket 4817 in related pydocs
    
    The pydocs warn users of authenticate_cookie and authenticate_password that we
    can't reliably differentiate certain failures. Citing the related ticket.
---
 stem/connection.py |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/stem/connection.py b/stem/connection.py
index b81a8f7..983eb84 100644
--- a/stem/connection.py
+++ b/stem/connection.py
@@ -495,7 +495,8 @@ def authenticate_password(controller, password, suppress_ctl_errors = True):
   note: If you use this function directly, rather than authenticate(), we may
   mistakenly raise a PasswordAuthRejected rather than IncorrectPassword. This
   is because we rely on tor's error messaging which is liable to change in
-  future versions.
+  future versions...
+  https://trac.torproject.org/4817
   
   Arguments:
     controller (stem.socket.ControlSocket or stem.control.BaseController) -
@@ -559,7 +560,8 @@ def authenticate_cookie(controller, cookie_path, suppress_ctl_errors = True):
   note: If you use this function directly, rather than authenticate(), we may
   mistakenly raise a CookieAuthRejected rather than IncorrectCookieValue. This
   is because we rely on tor's error messaging which is liable to change in
-  future versions.
+  future versions...
+  https://trac.torproject.org/4817
   
   Arguments:
     controller (stem.socket.ControlSocket or stem.control.BaseController) -





More information about the tor-commits mailing list