[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #28494 [Core Tor/Stem]: Please provide an equivalent for UnparseableDescriptor from metrics-lib
#28494: Please provide an equivalent for UnparseableDescriptor from metrics-lib
---------------------------+------------------------
Reporter: irl | Owner: atagar
Type: enhancement | Status: new
Priority: Medium | Milestone:
Component: Core Tor/Stem | Version:
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
---------------------------+------------------------
Comment (by atagar):
Great! Glad to hear you're not using the DescriptorReader.
If you're using parse_file() then I'm unsure if there's anything to do
with this. If you include 'validate = True' invalid content will raise
ValueErrors, and if not it should pretty much always return a Descriptor
object. TypeErrors only arise when unable to determine the descriptor type
(which is caller error).
Am I missing anything or can this be closed?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28494#comment:3>
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