[ python-Bugs-1449311 ] optparse: extending actions missing ALWAYS_TYPES_ACTIONS
SourceForge.net
noreply at sourceforge.net
Tue Mar 14 03:07:02 CET 2006
Bugs item #1449311, was opened at 2006-03-13 18:07
Message generated for change (Tracker Item Submitted) made by Item Submitter
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: Nobody/Anonymous (nobody)
Summary: optparse: extending actions missing ALWAYS_TYPES_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
More information about the Python-bugs-list
mailing list