Message197350
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:08 | paul.j3 | set | recipients:
+ paul.j3, arigo, pitrou, bethard |
2013-09-09 06:47:08 | paul.j3 | set | messageid: <1378709228.57.0.90355906386.issue18943@psf.upfronthosting.co.za> |
2013-09-09 06:47:08 | paul.j3 | link | issue18943 messages |
2013-09-09 06:47:08 | paul.j3 | create | |
|