[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #17378 [Stem]: Stem HiddenServiceOptions does not reflect reality
#17378: Stem HiddenServiceOptions does not reflect reality
-----------------------+------------------------
Reporter: infinity0 | Owner: atagar
Type: defect | Status: new
Priority: Medium | Milestone:
Component: Stem | Version:
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: | Points:
Sponsor: |
-----------------------+------------------------
Comment (by infinity0):
Replying to [comment:4 atagar]:
> > Might I suggest deprecating HiddenServiceOptions in case future people
misuse it like here?
>
> Would you mind clarifying what you mean?
Log a python DeprecationWarning [1] when the client accesses that option,
and mark it as deprecated both in the code comments and the generated
documentation to advise people to use get_hidden_service_conf() instead.
[1] Using warnings.warn https://docs.python.org/2/library/warnings.html
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/17378#comment:5>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs