[tor-bugs] #22824 [Core Tor/Tor]: Establish guidelines for using assertions

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Jul 5 17:17:57 UTC 2017


#22824: Establish guidelines for using assertions
------------------------------+--------------------------------------------
     Reporter:  catalyst      |      Owner:  catalyst
         Type:  task          |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: 0.3.2.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:  tor-doc, technical-debt, style
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------------------------
 Bugs like #22789 can happen due to overuse of assertions.  We should have
 guidelines for when assertions are appropriate, and document them
 (probably in `CodingStyle.md`).

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/22824>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list