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.5091916 |
| 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:34 | bethard | set | spambayes_score: 0.509192 -> 0.5091916 recipients: + bethard, gward, rhettinger, gpolo, djc |
| 2008年03月23日 21:53:34 | bethard | set | spambayes_score: 0.509192 -> 0.509192 messageid: <1206309214.5.0.0683674657209.issue2444@psf.upfronthosting.co.za> |
| 2008年03月23日 21:53:33 | bethard | link | issue2444 messages |
| 2008年03月23日 21:53:33 | bethard | create | |