Message197350
| 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 |
<1378709228.57.0.90355906386.issue18943@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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). |
|
History
|
|---|
| 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 |
|