This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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 <>
Changing the test from

    if argument_values is not action.default:


    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:47paul.j3setrecipients: + paul.j3, arigo, pitrou, bethard
2013-09-08 05:59:47paul.j3setmessageid: <>
2013-09-08 05:59:47paul.j3linkissue18943 messages
2013-09-08 05:59:47paul.j3create