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

Re: [tor-bugs] #8549 [Flashproxy]: Mac OS X pluggable transports bundles need Python 2.7 for argparse



#8549: Mac OS X pluggable transports bundles need Python 2.7 for argparse
------------------------+---------------------------------------------------
 Reporter:  dcf         |          Owner:  dcf
     Type:  defect      |         Status:  new
 Priority:  normal      |      Milestone:     
Component:  Flashproxy  |        Version:     
 Keywords:              |         Parent:     
   Points:              |   Actualpoints:     
------------------------+---------------------------------------------------

Comment(by aallai):

 Replying to [comment:7 dcf]:

 > Replying to [comment:6 mrphs]:
 >
 >
 > > Here's the Log file of this new bundle:
 > > http://pastebin.com/UL8Ci3Bx
 > >
 > >
 >
 > I see. Rats. I hoped that `argparse.py` copied from Python 2.7 would be
 compatible with Python 2.6, but it looks like not.
 > {{{
 > AttributeError: 'module' object has no attribute 'OrderedDict'
 > }}}
 > I think this leaves us with two options:
 > 1. Ship a Python interpreter like we do for Windows, using py2app or
 similar.
 > 2. Reduce pyobfsproxy's requirements to Python 2.6.
 > My vote is for (2), if argument parsing is the only thing that currently
 requires Python 2.7. Apart from this issue, the strategy of using the
 system Python has been working well. George, what do you think? Is it
 possible to rewrite option parsing to be compatible with Python 2.6?

 I could work on (2), it's probably more fun than py2app.

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