Message332567
argparse.REMAINDER matches an empty list of arguments, just like '?' and '*'. So they are always 'filled', even by `parse_args([])`.
'?' and '*' have some special handling of defaults in this case, see in
argparse.ArgumentParser._get_values
the two
value = action.default
REMAINDER has its own section in the function that does nothing with the default.
I think it should be left as is. |
|
Date |
User |
Action |
Args |
2018-12-26 22:49:32 | paul.j3 | set | recipients:
+ paul.j3, bethard, rgov |
2018-12-26 22:49:30 | paul.j3 | set | messageid: <1545864570.8.0.128680866357.issue35495@roundup.psfhosted.org> |
2018-12-26 22:49:30 | paul.j3 | link | issue35495 messages |
2018-12-26 22:49:30 | paul.j3 | create | |
|