[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs