[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #16348 [Stem]: Suppress exception chaining when PEP 3134 is merged (was: raise stem.InvalidArguments('552', 'GETINFO request contained unrecognized keywords:)
#16348: Suppress exception chaining when PEP 3134 is merged
------------------------+------------------------
Reporter: toralf | Owner: atagar
Type: defect | Status: accepted
Priority: minor | Milestone:
Component: Stem | Version:
Resolution: | Keywords: controller
Actual Points: | Parent ID:
Points: |
------------------------+------------------------
Changes (by atagar):
* priority: normal => minor
* keywords: => controller
* version: Tor: unspecified =>
* status: reopened => accepted
Comment:
Figured it out, and unfortunately I can't do anything about it yet.
Trouble is that [http://legacy.python.org/dev/peps/pep-3134/ python3 added
exception chaining]. Under python2 you only get the useful stacktrace but
with python3 you get the internal one too.
At present there isn't a method for suppressing this.
[https://www.python.org/dev/peps/pep-3134/ There's a proposal] for adding
suppression but it isn't yet merged, and even after it is this will be an
ongoing annoyance for python 3.x before the addition.
Keeping this open so we circle back to take advantage of suppression when
it's added.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/16348#comment:10>
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