Bugs item #1449311, was opened at 2006-03-13 21:07
Message generated for change (Settings changed) made by gward
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1449311&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Documentation
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Christopher (chrism1)
>Assigned to: Greg Ward (gward)
>Summary: optparse: extending actions missing ALWAYS_TYPED_ACTIONS

Initial Comment:
http://docs.python.org/lib/optparse-adding-new-actions.
html

This page of docs should include the ALWAYS_TYPED_
ACTIONS list from optparse.py. In the example, unless 
you add the following line:

    ALWAYS_TYPED_ACTIONS = Option.ALWAYS_TYPED_ACTIONS 
+ ("dict",)

, then the "Value" variable gets no value unless you 
explicitly pass "type='string'" to parser.add_option().



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1449311&group_id=5470
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to