[issue1243] option.dest not set when callback called with optparse
Chris Withers
report at bugs.python.org
Mon Oct 8 14:09:53 CEST 2007
Chris Withers added the comment:
I'm not sure I fully understand where the fix should go but I'll put a
note in to look into this.
In the meantime, a good workaround is to supply an explicit destination:
parser.add_option('--myopt',action='callback',callback=mycallback,dest='myopt')
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1243>
__________________________________
More information about the Python-bugs-list
mailing list