[tor-bugs] #20934 [Core Tor/Tor]: Use standard python multiset implementation in fallback script

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Dec 9 10:14:04 UTC 2016


#20934: Use standard python multiset implementation in fallback script
------------------------------+--------------------------
     Reporter:  teor          |      Owner:
         Type:  enhancement   |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: 0.3.???
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:  fallback
Actual Points:                |  Parent ID:
       Points:  0.1           |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------
 I wrote a multiset (bag) implementaion for updateFallbackDirs.py, but
 python has Counter. I'd rather use someone else's tested code.

 https://docs.python.org/2/library/collections.html

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


More information about the tor-bugs mailing list