Steven Bethard <steven.beth...@gmail.com> added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11076>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to