Message326607
issue8982 is not about making argparse.Namespace iterable, it is about better documenting it.
issue8979 was rejected for several reasons which are still valid.
For making **args working, args shouldn't be iterable, it should have the keys() method. And this will conflict with the --keys option.
Python is not a JavaScript. Objects and dictionaries are different things here. If you want to convert argparse.Namespace to dict, vars(args) is the One Obvious Way. It is officially documented. |
|
Date |
User |
Action |
Args |
2018-09-28 06:08:56 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, bubthegreat |
2018-09-28 06:08:56 | serhiy.storchaka | set | messageid: <1538114936.03.0.545547206417.issue34827@psf.upfronthosting.co.za> |
2018-09-28 06:08:55 | serhiy.storchaka | link | issue34827 messages |
2018-09-28 06:08:55 | serhiy.storchaka | create | |
|