[issue13850] Summary tables for argparse add_argument options

2019-03-23 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: I close my PR, if anyone wants to submit an other PR, feel free to do it. -- ___ Python tracker ___ _

[issue13850] Summary tables for argparse add_argument options

2019-02-28 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi @Raymond, Yep, I understand about the "look", I have seen the result after the build of the doc but the patch was like that and I did not want to change the initial patch. Would you suggest one layout and I could update the PR with your recommendations

[issue13850] Summary tables for argparse add_argument options

2019-02-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: I like the idea of having various summary tables for argparse, but the one in the PR isn't visually attractive or self-explanatory. -- ___ Python tracker ___

[issue13850] Summary tables for argparse add_argument options

2019-02-27 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: just for 2.7, 3.7 & 3.8 because they are in bugfix mode. -- versions: +Python 3.7, Python 3.8 -Python 3.4, Python 3.5 ___ Python tracker ___

[issue13850] Summary tables for argparse add_argument options

2019-02-27 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- pull_requests: +12090 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue13850] Summary tables for argparse add_argument options

2019-02-24 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue13850] Summary tables for argparse add_argument options

2015-04-13 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi all, If you think the patch is ok, please merge it, we will close this issue. Thanks -- ___ Python tracker ___ ___

[issue13850] Summary tables for argparse add_argument options

2015-04-13 Thread R. David Murray
R. David Murray added the comment: I think it would be better to move the summary table to the end (just before the Action section), and add another link to the summary to the sentence "The following sections describe how each of these are used." That is, follow that sentence with something l

[issue13850] Summary tables for argparse add_argument options

2015-04-13 Thread Tina Zhang
Tina Zhang added the comment: Created Quick Reference table subsection under the add_argument() method section - used the table originally created by xmorel, replacing ticks with 'x' and adding links to the sections in the documentation for each parameter names. Removed the 'version' column a

[issue13850] Summary tables for argparse add_argument options

2015-04-13 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: On 13 Apr 2015, at 10:56, Stéphane Wirtel wrote: > Stéphane Wirtel added the comment: > > Just updated this patch with "x" instead of the unicode character. Sorry bad patch, I have read the last comment (“replace by x or “yes/no”) and not the other comments.

[issue13850] Summary tables for argparse add_argument options

2015-04-13 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Just updated this patch with "x" instead of the unicode character. -- nosy: +matrixise Added file: http://bugs.python.org/file38917/argparse-actions-matrix-v2 ___ Python tracker _

[issue13850] Summary tables for argparse add_argument options

2014-07-16 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue13850] Summary tables for argparse add_argument options

2014-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: At a quick glance the patch looks okay to me so as there's been a lot of positive comments can we have a formal patch review please. -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3 ___

[issue13850] Summary tables for argparse add_argument options

2012-04-28 Thread Ezio Melotti
Ezio Melotti added the comment: > * It's incredibly not helpful for people who don't know argparse Indeed. Maybe this should be moved down in the page, and possibly provide a link to the top (see e.g. the unittest doc [0] and the link on top to jump to the list of assert methods). Once peop

[issue13850] Summary tables for argparse add_argument options

2012-03-25 Thread Xavier Morel
Xavier Morel added the comment: completion for list item 4: > although it would definitely make the "raw text" (in-rst) much harder to read > compared to the current table (which can be used from the rst source without > compiling) -- ___ Python t

[issue13850] Summary tables for argparse add_argument options

2012-03-25 Thread Xavier Morel
Xavier Morel added the comment: Had some time to play with this today, here's a draft matrix of actions and add_argument parameters which is pretty readable, but: * It's incredibly not helpful for people who don't know argparse * I tried adding effects descriptions in the cells instead of mere

[issue13850] Summary tables for argparse add_argument options

2012-03-18 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- nosy: +tshepang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue13850] Summary tables for argparse add_argument options

2012-02-03 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue13850] Summary tables for argparse add_argument options

2012-01-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: +1 from me. The docs in their present form are a great tutorial but are a total failure as a quick reference. Besides having table of parameters, it may also be worthwhile to move some of the examples to a HOWTO document (much as was done with the logging

[issue13850] Summary tables for argparse add_argument options

2012-01-24 Thread Nick Coghlan
Nick Coghlan added the comment: Having a second table of "Applicable Parameters" could definitely work. I don't think the "no horizontal headers" limitation should be a big problem - the matrix should be readable even if the action names are just listed in an ordinary column. -- ___

[issue13850] Summary tables for argparse add_argument options

2012-01-24 Thread Xavier Morel
Xavier Morel added the comment: > The "Parameters" column would span multiple lines, with one parameter and a > brief description of the parameter on each line. I started looking into that, and it turns out that's more annoying than expected: a bunch of parameters are shared by many (to all)

[issue13850] Summary tables for argparse add_argument options

2012-01-24 Thread Steven Bethard
Steven Bethard added the comment: Sounds like an excellent plan to me too. -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue13850] Summary tables for argparse add_argument options

2012-01-24 Thread Xavier Morel
Xavier Morel added the comment: > My specific suggestion is to have a dedicated "Quick Reference" section > before the first example. OK, that looks like a good plan. -- ___ Python tracker __

[issue13850] Summary tables for argparse add_argument options

2012-01-24 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue13850] Summary tables for argparse add_argument options

2012-01-24 Thread Nick Coghlan
Nick Coghlan added the comment: My specific suggestion is to have a dedicated "Quick Reference" section before the first example. This section would be aimed at two groups of people: - those wanting a quick overview of the features argparse offers them ("This looks complicated, what can it do

[issue13850] Summary tables for argparse add_argument options

2012-01-24 Thread Xavier Morel
Xavier Morel added the comment: Creating the tables should not be too hard, especially using e.g. org-mode, but: 1. Where should those tables live? The argparse documentation is pretty big and there's no completely obvious place. I would guess table 1. could just replace the list of arguments

[issue13850] Summary tables for argparse add_argument options

2012-01-23 Thread Nick Coghlan
Nick Coghlan added the comment: Looking at the docs, a 4th table in the quick reference section would be useful: the parameters for ArgumentParser itself. Note that the ArgumentParser and add_arguments() parameters are already summarised in their respective entries, but there are currently no

[issue13850] Summary tables for argparse add_argument options

2012-01-23 Thread Nick Coghlan
New submission from Nick Coghlan : With the current argparse docs, it's very hard to get a quick reminder of how to spell the various parameters for add_argument, and just what they do. This issue suggests adding a "Quick Reference" section for add_argument, with the following elements: 1. Su