Steven Bethard <steven.bethard at gmail.com> added the comment: Why can't you just iterate over ``vars(opts)``? ---------- nosy: +bethard __________________________________ Tracker <report at bugs.python.org> <http://bugs.python.org/issue2444> __________________________________