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 bethard
Recipients bethard, djc, gpolo, gward, rhettinger
Date 2008-03-23.21:53:32
SpamBayes Score 0.509192
Marked as misclassified No
Message-id <1206309214.5.0.0683674657209.issue2444@psf.upfronthosting.co.za>
In-reply-to
Content
But ``vars()`` is the standard Python mechanism for doing this sort of
thing (that is, treating an object like a dictionary). So, while I
understand that you find "iterating over opts to be nicer", calling it
more Pythonic is probably a misuse of the term. ;-)

Anyway, I should point out that optparse is maintained separately from
the standard library, and any modifications to it usually need to go
through the tracker at http://optik.sourceforge.net/ first.
History
Date User Action Args
2008-03-23 21:53:34bethardsetspambayes_score: 0.509192 -> 0.509192
recipients: + bethard, gward, rhettinger, gpolo, djc
2008-03-23 21:53:34bethardsetspambayes_score: 0.509192 -> 0.509192
messageid: <1206309214.5.0.0683674657209.issue2444@psf.upfronthosting.co.za>
2008-03-23 21:53:33bethardlinkissue2444 messages
2008-03-23 21:53:33bethardcreate