[issue8158] documentation of 'optparse' module incomplete

2010-11-19 Thread Éric Araujo

Changes by Éric Araujo mer...@netwok.org:


--
keywords: +easy
nosy: +d...@python -georg.brandl
versions:  -Python 2.6

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8158
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8158] documentation of 'optparse' module incomplete

2010-09-27 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

Hello,
since 2.7 optparse is deprecated in favor of argparse: is this bug still worth 
to be fixed? If so, I can work on a patch for the doc.

Regards,
Sandro

--
nosy: +sandro.tosi

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8158
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8158] documentation of 'optparse' module incomplete

2010-09-27 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

Sorry, I probably overlooked at the situation. After a quick chat with Antoine 
on IRC, it's clear optparse is here to stay for all the lifetime of 2.7 (quite 
a long and prosper, we hope :) so yes, it's worth work on its documentation, 
hence I'll start preparing a patch and I'll submit it asap.

Cheers,
Sandro

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8158
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8158] documentation of 'optparse' module incomplete

2010-03-29 Thread Senthil Kumaran

Changes by Senthil Kumaran orsent...@gmail.com:


--
nosy: +orsenthil

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8158
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8158] documentation of 'optparse' module incomplete

2010-03-23 Thread R. David Murray

R. David Murray rdmur...@bitdance.com added the comment:

Senthil documented epilog in issue 8209.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8158
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8158] documentation of 'optparse' module incomplete

2010-03-16 Thread Simon Anders

New submission from Simon Anders and...@embl.de:

The class optparse.OptionParser supports a number of useful keyword arguments 
to the initializer, which are not documented in the Python Standard Library 
documentation, here: http://docs.python.org/library/optparse.html

This is a bit unfortunate. For example, I wanted to add a description to the 
top of my script's help page and a copyright notice to the foot, and was 
already about to subclass OptionParser in order to override the format_help 
method, when I noticed that optional keyword arguments 'description' and 
'epilog' are provided for precisely this purpose.

The 'epilog' attribute is at least mentioned in the class's docstring, while 
the 'description' argument is completely undocumented. I doubt that this was 
done on purpose.

I'd suggest to go over the documentation page for optparse and fill in the 
missing bits; at minimum, list all keyword arguments to 
optparse.OptionParser.__init__.

--
assignee: georg.brandl
components: Documentation
messages: 101177
nosy: georg.brandl, sanders
severity: normal
status: open
title: documentation of 'optparse' module incomplete
versions: Python 2.6

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8158
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8158] documentation of 'optparse' module incomplete

2010-03-16 Thread Brian Curtin

Changes by Brian Curtin cur...@acm.org:


--
priority:  - normal
stage:  - needs patch
type:  - behavior
versions: +Python 3.1

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8158
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8158] documentation of 'optparse' module incomplete

2010-03-16 Thread R. David Murray

R. David Murray rdmur...@bitdance.com added the comment:

Would you care to submit a patch?  The docs are in the svn repository in the 
'Doc' subdirectory.  See http://www.python.org/dev for how to get a checkout 
and create a patch.

That said, note that 2.7/3.2 will have argparse, which is pretty much a 
superset of optparse and recommended for use instead of optparse, and it does 
document those options.

--
nosy: +r.david.murray
versions: +Python 2.7, Python 3.2

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8158
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com