[tor-bugs] #8755 [Stem]: Python 3 Compatibility

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Apr 25 03:20:21 UTC 2013


#8755: Python 3 Compatibility
---------------------+------------------------------------------------------
 Reporter:  aj00200  |          Owner:  atagar
     Type:  defect   |         Status:  new   
 Priority:  normal   |      Milestone:        
Component:  Stem     |        Version:        
 Keywords:           |         Parent:        
   Points:           |   Actualpoints:        
---------------------+------------------------------------------------------

Comment(by atagar):

 On reflection it's actually a little more elegant for us to translate the
 digest to hex rather than the local_digest to bytes. As an added bonus
 this means that we can include them in exceptions we raise to give our
 users a little more information.

 Pushed an adaptation of your patch that passes the python 2.x and 3.x test
 for me but that said, I only have the python 2.x version of pycrypto
 installed so this isn't really checking that we've solved this bug. Would
 you mind giving it a whirl?

 https://gitweb.torproject.org/stem.git/commitdiff/92af5b8d50e3dac52e2380cd44ff706c88d9332e

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


More information about the tor-bugs mailing list