Message197225
Changing the test from
if argument_values is not action.default:
to
if argument_values is not action.default and \
(action.default is None or argument_values != action.default):
makes the behavior more consistent. Strings and large ints behave like small ints, matching the default and not counting as "present"
Simply using `argument_values != action.default` was not sufficient, since it raised errors in existing test cases (such as ones involving Nones). |
|
Date |
User |
Action |
Args |
2013-09-08 05:59:47 | paul.j3 | set | recipients:
+ paul.j3, arigo, pitrou, bethard |
2013-09-08 05:59:47 | paul.j3 | set | messageid: <1378619987.43.0.202447023646.issue18943@psf.upfronthosting.co.za> |
2013-09-08 05:59:47 | paul.j3 | link | issue18943 messages |
2013-09-08 05:59:47 | paul.j3 | create | |
|