Serhiy Storchaka added the comment:
Thank you for the review Eli. Could you please review issue17974 while I will
write tests?
As for a duplication I think about using vars():
def main(tests=None, testdir=None, verbose=0, quiet=False, ...):
return _main(**vars())
def _main(tests, testdir, **kwargs):
ns = argparse.Namespace(**kwargs)
...
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue16799>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com