[tor-bugs] #8549 [Flashproxy]: Mac OS X pluggable transports bundles need Python 2.7 for argparse
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Mar 26 01:21:22 UTC 2013
#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 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?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/8549#comment:7>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list