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

Re: [tor-bugs] #7843 [Stem]: Test and support python 3.x



#7843: Test and support python 3.x
-------------------------+--------------------------------------------------
 Reporter:  atagar       |          Owner:  atagar
     Type:  enhancement  |         Status:  new   
 Priority:  normal       |      Milestone:        
Component:  Stem         |        Version:        
 Keywords:               |         Parent:        
   Points:               |   Actualpoints:        
-------------------------+--------------------------------------------------

Comment(by robinson):

 Replying to [comment:3 atagar]:
 > > For 2 (above), maybe python3 testing should be a separate command? For
 example, a shell script which does:
 >
 > I like that idea but lets do it through run_tests.py. I admit it's weird
 to have a python 2 instance of run_tests.py invoking a python 3 version,
 but it's probably a little nicer from an interface perspective.

 So... um... you mean, run a Py2 script which converts the code base,
 including itself, to Py3, then execs Py3 on the newly-converted version of
 the running script?

 > > For 3 (above): are you interested in some low-hanging Py2->Py3 fruit?
 For example:
 >
 > If you're sure that it'll be a problem for python 3 and this maintains
 python 2.5 compatibility then go for it (dropping 2.5 might be ok if 2to3
 forces us to, but that would be something to think about a bit).

 I'll put together some examples and send a public branch address to read.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/7843#comment:4>
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