[tor-bugs] #31202 [Core Tor/Tor]: Refactor practracker's issue-listing code to return a generator

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Jul 18 13:45:46 UTC 2019


#31202: Refactor practracker's issue-listing code to return a generator
-------------------------+-------------------------------------------------
     Reporter:  nickm    |      Owner:  nickm
         Type:  defect   |     Status:  assigned
     Priority:  Medium   |  Milestone:  Tor: 0.4.2.x-final
    Component:  Core     |    Version:
  Tor/Tor                |   Keywords:  practracker, tech-debt,
     Severity:  Normal   |  refactoring, easy, 041-deferred-20190530
Actual Points:           |  Parent ID:  #29746
       Points:  .2       |   Reviewer:
      Sponsor:           |
  Sponsor31-can          |
-------------------------+-------------------------------------------------
 Right now, this issue-listing code exposes the problems with "print()".
 Instead, it should yield them as a generator, so that the invoking code
 can decide what to do with them.

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


More information about the tor-bugs mailing list