Message127946
What's wrong with `vars(args)`? That's the standard way of getting a dict from an object, no?
Note that you're not always guaranteed to get a Namespace back (e.g. if you pass the namespace= argument to parse_args), and I'd generally like to keep Namespace as simple as possible. |
|
Date |
User |
Action |
Args |
2011-02-04 21:56:02 | bethard | set | recipients:
+ bethard, rhettinger, vdupras, eric.araujo |
2011-02-04 21:56:02 | bethard | set | messageid: <1296856562.42.0.283285503819.issue11076@psf.upfronthosting.co.za> |
2011-02-04 21:56:01 | bethard | link | issue11076 messages |
2011-02-04 21:56:01 | bethard | create | |
|