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-09.06:47:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
At the very least the `is not action.default` needs to be changed.  Else where in argparse `is` is only used with `None` or constant like `SUPPRESS`.  So using it with a user defined parameter is definitely not a good idea.

Possible variations on how `is` behaves across implementations (pypy, ironpython) only complicates the issue.  I'm also familiar with a Javascript translation of argparse (that uses its `!==` in this context).
Date User Action Args
2013-09-09 06:47:08paul.j3setrecipients: + paul.j3, arigo, pitrou, bethard
2013-09-09 06:47:08paul.j3setmessageid: <>
2013-09-09 06:47:08paul.j3linkissue18943 messages
2013-09-09 06:47:08paul.j3create