This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author bcward
Recipients bcward
Date 2010-06-12.01:04:21
SpamBayes Score 0.024138123
Marked as misclassified No
Message-id <1276304664.09.0.271886619191.issue8979@psf.upfronthosting.co.za>
In-reply-to
Content
It would be convenient to be able to access the resultant options from optparse using the syntax

options['some_option']

instead of options.some_option

Or additionally it would be nice to have a way to produce a dictionary of the options.  This would be nice to have to do something to the effect of

dictOptions = options.to_dict()

obj = SomeObject(**dictOptions)
History
Date User Action Args
2010-06-12 01:04:24bcwardsetrecipients: + bcward
2010-06-12 01:04:24bcwardsetmessageid: <1276304664.09.0.271886619191.issue8979@psf.upfronthosting.co.za>
2010-06-12 01:04:22bcwardlinkissue8979 messages
2010-06-12 01:04:21bcwardcreate