[issue13879] Argparse does not support subparser aliases in 2.7

2012-02-03 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Agreed, this looks like a doc glitch. -- assignee: - docs@python components: +Documentation -Library (Lib) nosy: +docs@python, eric.araujo, ezio.melotti ___ Python tracker rep...@bugs.python.org

[issue13879] Argparse does not support subparser aliases in 2.7

2012-02-03 Thread Tim Willis
Tim Willis schadenfreude...@gmail.com added the comment: The documentation appears to be up to date in the current 2.7 repository, so this can probably be marked as closed/fixed. -- ___ Python tracker rep...@bugs.python.org

[issue13879] Argparse does not support subparser aliases in 2.7

2012-02-03 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Ah, I did not see that your first message talked about the dev doc, which is 3.3. -- resolution: - invalid stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue13879] Argparse does not support subparser aliases in 2.7

2012-01-27 Thread Tim Willis
Tim Willis schadenfreude...@gmail.com added the comment: Attaching a patch which merges aliases code from 3.2 back into 2.7. -- keywords: +patch Added file: http://bugs.python.org/file24339/argparse_aliases.patch ___ Python tracker

[issue13879] Argparse does not support subparser aliases in 2.7

2012-01-27 Thread Tim Willis
Tim Willis schadenfreude...@gmail.com added the comment: adding package author to nosy list -- nosy: +bethard ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13879 ___

[issue13879] Argparse does not support subparser aliases in 2.7

2012-01-27 Thread Steven Bethard
Steven Bethard steven.beth...@gmail.com added the comment: This is a new feature, not a bug, so I think the correct fix is to change the 2.7 documentation, since at this point 2.7 can only get bugfixes, not new features. -- ___ Python tracker

[issue13879] Argparse does not support subparser aliases in 2.7

2012-01-26 Thread Tim Willis
New submission from Tim Willis schadenfreude...@gmail.com: Argparse documentation in 2.7 indicates support for an 'aliases' kwarg. (Fourth example down from http://docs.python.org/dev/library/argparse.html#sub-commands) While aliases work as expected in 3.2, use in 2.7 results in TypeError: