[tor-bugs] #9975 [Flashproxy]: use argparse rather than getopt

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Nov 15 10:44:56 UTC 2013


#9975: use argparse rather than getopt
-----------------------------+--------------------------
     Reporter:  infinity0    |      Owner:  infinity0
         Type:  enhancement  |     Status:  needs_review
     Priority:  minor        |  Milestone:
    Component:  Flashproxy   |    Version:
   Resolution:               |   Keywords:
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+--------------------------

Comment (by dcf):

 What's in https://github.com/infinity0/flashproxy/tree/bug9975 seems to
 have quite a lot of refactoring and other changes on top of a migration to
 argparse. I understand that argparse enables these changes, but could we
 have a smaller branch that ''only'' migrates to argparse? I mean even
 without splitting out common options. That's something I would love to
 merge right away.

 When it comes to parsing common options in submodules, that's something I
 would like to think about a bit more.

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


More information about the tor-bugs mailing list