Message197225
| Author |
paul.j3 |
| Recipients |
arigo, bethard, paul.j3, pitrou |
| Date |
2013年09月08日.05:59:47 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1378619987.43.0.202447023646.issue18943@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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). |
|
History
|
|---|
| 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 |
|