[tor-bugs] #33825 [Core Tor/Chutney]: Make Environ handle "in" and "get()" like a dict

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Apr 16 05:03:10 UTC 2020


#33825: Make Environ handle "in" and "get()" like a dict
-------------------------------------------------+-------------------------
 Reporter:  teor                                 |          Owner:  (none)
     Type:  defect                               |         Status:
                                                 |  needs_revision
 Priority:  Medium                               |      Milestone:
Component:  Core Tor/Chutney                     |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  ipv6, outreachy-ipv6, technical-     |  Actual Points:
  debt                                           |
Parent ID:  #33050                               |         Points:  1
 Reviewer:                                       |        Sponsor:
                                                 |  Sponsor55-can
-------------------------------------------------+-------------------------

Comment (by c):

 I came across MutableMapping briefly, and after looking up how it compares
 to dict, yes, it does look like this would be more suitable because it
 defines a dict-like interface, which is likelier what we want here. It
 seems like this is the best way to achieve what we want.

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


More information about the tor-bugs mailing list