Message197414
| Author |
paul.j3 |
| Recipients |
arigo, bethard, paul.j3, pitrou |
| Date |
2013年09月09日.22:38:22 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1378766303.38.0.188402321556.issue18943@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
This patch uses a narrow criteria - if `_get_values()` sets the value to `action.default`, then argument counts as 'not present'. I am setting a `using_default` flag in `_get_values`, and return it for use by `take_action`.
In effect, the only change from previous behavior is that small ints (<257) now behave like large ints, strings and other objects.
It removes the nonstandard 'is not action.default' test, and should behave consistently across all platforms (including pypy). |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2013年09月09日 22:38:23 | paul.j3 | set | recipients:
+ paul.j3, arigo, pitrou, bethard |
| 2013年09月09日 22:38:23 | paul.j3 | set | messageid: <1378766303.38.0.188402321556.issue18943@psf.upfronthosting.co.za> |
| 2013年09月09日 22:38:23 | paul.j3 | link | issue18943 messages |
| 2013年09月09日 22:38:23 | paul.j3 | create |
|