#8 "append_const" action


While working with optparse/optik, I've found usefull a
couple of new actions.
While I did implement most of them subclassing Option,
OptionParser, HelpFormatter and/or children, I thought
I'd propose them here as they might be usefull for
other users as well.

One of them is the new action "append_const", well, you
can guess what i does.

A patch against latest CVS is attached.


  • Andrea Bocci

    Andrea Bocci - 2004-10-19

    Implementation (patch against CVS)

  • Andrea Bocci

    Andrea Bocci - 2004-10-20
    • assigned_to: gward --> nobody
  • Greg Ward

    Greg Ward - 2004-10-26

    Logged In: YES

    Looks pretty straightforward. Can you please post to
    optik-users and explain what you use this for? I'm curious,
    but it will also make it easier to accept your patch if I
    know why it's needed!

    (Another thing that would help: provide a patch to
    test/test_optik.py at the same time.)

  • Greg Ward

    Greg Ward - 2004-10-26
    • assigned_to: nobody --> gward
  • Greg Ward

    Greg Ward - 2004-11-09

    Logged In: YES

    Just checked in Andrea's patch (from the mailing list) in
    r462. Docs patched in r463.

  • Greg Ward

    Greg Ward - 2004-11-09
    • status: open --> closed

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks