[tor-bugs] #14075 [Stem]: Unified codebase for Python 2&3

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Jan 2 21:30:36 UTC 2015


#14075: Unified codebase for Python 2&3
-----------------------------+---------------------------------------------
     Reporter:  Foxboron     |      Owner:  atagar
         Type:  enhancement  |     Status:  new
     Priority:  normal       |  Milestone:
    Component:  Stem         |    Version:
   Resolution:               |   Keywords:  python, 3, 2, unified, codebase
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+---------------------------------------------

Comment (by Foxboron):

 Helluw!

 1. Actually, we do need this. Stem does pass around a lot of dicts being
 changes in threads. If we remove the forced evaluation we wind up with
 {{{RuntimeError: dictionary changed size during iteration}}}, i suspect
 this is because of possibly "bad" code in other places, but i wanted this
 change to be as non-intrusive as possible on the old code. Nailing these
 kind of bugs can be a possible PR later. My opinion on the matter though.

 2. Right, only tested with python 3.4, i can solve this and maintain
 compatibility with 2.6, and 3.x as well. Me being short sighted.

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


More information about the tor-bugs mailing list