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

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



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