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:23paul.j3setrecipients: + paul.j3, arigo, pitrou, bethard
2013-09-09 22:38:23paul.j3setmessageid: <1378766303.38.0.188402321556.issue18943@psf.upfronthosting.co.za>
2013-09-09 22:38:23paul.j3linkissue18943 messages
2013-09-09 22:38:23paul.j3create