Message223748
| Author | Chris.Bruner |
|---|---|
| Recipients | Chris.Bruner |
| Date | 2014-07-23.17:16:22 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1406135782.37.0.476079892774.issue22049@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
From the documentation, I think that argparse should pass the entire nargs-long string to the "type=" callable. Instead, it only passes the first argument (of nargs), making it impossible within argparse's framework to check for a tuple of mixed types, e.g., 2 ints and a float (my case), or a string and three numbers, etc. See attached reproducer. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2014-07-23 17:16:22 | Chris.Bruner | set | recipients: + Chris.Bruner |
| 2014-07-23 17:16:22 | Chris.Bruner | set | messageid: <1406135782.37.0.476079892774.issue22049@psf.upfronthosting.co.za> |
| 2014-07-23 17:16:22 | Chris.Bruner | link | issue22049 messages |
| 2014-07-23 17:16:22 | Chris.Bruner | create | |