Alexandre Badez added the comment:
@paul: thanks, I'm very surprised because the parsing work well.
It's just the display that do not.
Moreover it's not said in the documentation that you cannot nest groups.
So maybe we should update the documentation and/or improve the module
New submission from Alexandre Badez:
Hi,
Here is a sample of what I do:
import argparse
main_parser = argparse.ArgumentParser()
group_ex = main_parser.add_mutually_exclusive_group()
group_ex1 = group_ex.add_argument_group()
group_ex1.add_argument('-a', '--atest', help=help about
New submission from Alexandre Badez alexandre.ba...@gmail.com:
extend_path only test if init.py files exist, but it should also test
init.pyc and/or init.pyo.
--
components: Library (Lib)
messages: 129896
nosy: Alexandre.Badez
priority: normal
severity: normal
status: open
title
Changes by Alexandre Badez alexandre.ba...@gmail.com:
--
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11374
___
___
Python-bugs
Alexandre Badez alexandre.ba...@gmail.com added the comment:
I've made a simple patch.
--
keywords: +patch
Added file: http://bugs.python.org/file20977/patch.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11374
Changes by Alexandre Badez alexandre.ba...@gmail.com:
Removed file: http://bugs.python.org/file20977/patch.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11374
Alexandre Badez alexandre.ba...@gmail.com added the comment:
A little change in the patch
--
Added file: http://bugs.python.org/file20978/patch.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11374