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 <>
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 first.
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: <>
2008-03-23 21:53:33bethardlinkissue2444 messages
2008-03-23 21:53:33bethardcreate