Message169695
After recent change (78307 '#13922: argparse no longer incorrectly strips '--' after the first one.'), parse_args stopped working with a tuple
argument. It is easy to pass tuple to argparse by using positional function arguments:
def f(*args):
parser.parse_args(args)
This will fail, because args is a tuple.
It is necessary to have at least one positional argument to trigger the bug. |
|
Date |
User |
Action |
Args |
2012-09-02 13:12:15 | zbysz | set | recipients:
+ zbysz, bethard, r.david.murray |
2012-09-02 13:12:15 | zbysz | set | messageid: <1346591535.01.0.313863035332.issue15847@psf.upfronthosting.co.za> |
2012-09-02 13:12:14 | zbysz | link | issue15847 messages |
2012-09-02 13:12:14 | zbysz | create | |
|