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.
Created on 2013年05月27日 22:25 by deleted250130, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| args.py | deleted250130, 2013年05月27日 22:25 | Example script | ||
| Messages (2) | |||
|---|---|---|---|
| msg190157 - (view) | Author: (deleted250130) | Date: 2013年05月27日 22:25 | |
Positional arguments which have no dest attribute doesn't replace any - with _. In the attachments is an example script which demonstrate this. The output looks like this: sworddragon@ubuntu:~$ ./args.py foo Namespace(foo-bar2='foo', foo_bar1=None) |
|||
| msg190160 - (view) | Author: (deleted250130) | Date: 2013年05月27日 23:11 | |
I have found another report about this: http://bugs.python.org/issue15125 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:46 | admin | set | github: 62274 |
| 2013年05月28日 00:14:10 | r.david.murray | set | superseder: argparse: positional arguments containing - in name not handled well |
| 2013年05月27日 23:12:35 | deleted250130 | set | type: behavior |
| 2013年05月27日 23:11:43 | deleted250130 | set | status: open -> closed resolution: duplicate messages: + msg190160 |
| 2013年05月27日 22:25:16 | deleted250130 | create | |