[issue16799] start using argparse.Namespace in regrtest

Serhiy Storchaka report at bugs.python.org
Mon Aug 12 21:41:18 CEST 2013


Serhiy Storchaka added the comment:

Here is a preliminary patch which get rids of _convert_namespace_to_getopt() and directly uses a Namespace object. Unfortunately it breaks tests because test_regrtest depends on implementation details of the regrtest module and uses _convert_namespace_to_getopt(). If the proposed patch is good enough I will try to write suitable tests.

----------
Added file: http://bugs.python.org/file31254/regrtest_argparse.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16799>
_______________________________________


More information about the Python-bugs-list mailing list