Commit Graph

34 Commits

Author SHA1 Message Date
Martin Panter
5b48fa9fa4 Fix spelling (inital), grammar (may translates) in documentation, comments 2016-04-19 04:03:41 +00:00
Serhiy Storchaka
9a118f1dc3 Issue #26778: Fixed "a/an/and" typos in code comment and documentation. 2016-04-17 09:37:36 +03:00
Serhiy Storchaka
9f8621fa7d Issue #13107: argparse and optparse no longer raises an exception when output
a help on environment with too small COLUMNS.  Based on patch by
Elazar Gershuni.
2014-01-09 23:13:48 +02:00
Ezio Melotti
f5469cff1f #18705: fix a number of typos. Patch by Févry Thibault. 2013-08-17 15:43:51 +03:00
R David Murray
a436e713b6 #8158: add missing 'description' description to optparse docstring. 2011-05-04 21:05:52 -04:00
R. David Murray
3caf7b9c88 #9161: Fix regression in acceptance of unicode strings in add_option calls.
The original change in 2.6 was made during rc1 changeover, and did not
get ported to 2.7.  The original change may not even have been
intentional, but if so it doesn't seem to have caused any problems.
2010-07-05 16:06:05 +00:00
Georg Brandl
aa48157d3d #5719: add short usage example to optparse docstring. 2009-04-12 20:30:53 +00:00
Georg Brandl
c5d8c63345 #5190: export make_option in __all__. 2009-03-31 19:12:17 +00:00
Mark Dickinson
3e4caeb3bf Issue #5341: Fix a variety of spelling errors. 2009-02-21 20:27:01 +00:00
Benjamin Peterson
21f25d3fcd raise a better error 2008-11-23 02:09:41 +00:00
Andrew M. Kuchling
ddbce9e845 Per Greg Ward, optparse is no longer being externally maintained.
I'll look at the bugs in the Optik bug tracker and copy them to the Python bug
tracker if they're still relevant.
2008-10-06 12:07:04 +00:00
Andrew M. Kuchling
dcf3b1c79a #1415508 from Rocky Bernstein: add docstrings for enable_interspersed_args(), disable_interspersed_args() 2008-10-05 00:11:56 +00:00
Raymond Hettinger
930795b7e0 Clear the -3 warnings in optparse.py 2008-07-10 15:37:08 +00:00
Christian Heimes
5b25bc0598 Change isbasestring function as discussed on the cvs list a while ago 2008-01-27 19:01:45 +00:00
Christian Heimes
082c9b0267 Fixed bug #1915: Python compiles with --enable-unicode=no again. However several extension methods and modules do not work without unicode support. 2008-01-23 14:20:50 +00:00
Greg Ward
48fae7acd2 Resync optparse with Optik 1.5.3: minor tweaks for/to tests. 2006-07-23 16:05:51 +00:00
Tim Peters
4f96f1f2b5 Whitespace normalization. 2006-06-11 19:42:51 +00:00
Greg Ward
0e0c9f4740 Bug #1498146: fix optparse to handle Unicode strings in option help,
description, and epilog.
2006-06-11 16:24:11 +00:00
Armin Rigo
a3f092751a ("Forward-port" of r46506)
Remove various dependencies on dictionary order in the standard library
tests, and one (clearly an oversight, potentially critical) in the
standard library itself - base64.py.

Remaining open issues:
 * test_extcall is an output test, messy to make robust
 * tarfile.py has a potential bug here, but I'm not familiar
   enough with this code.  Filed in as SF bug #1496501.
 * urllib2.HTTPPasswordMgr() returns a random result if there is more
   than one matching root path.  I'm asking python-dev for
   clarification...
2006-05-28 19:13:17 +00:00
Tim Peters
81b7e57e49 Whitespace normalization. 2006-04-23 18:13:45 +00:00
Greg Ward
ab05edc0d1 Update optparse to Optik 1.5.1. 2006-04-23 03:47:58 +00:00
Raymond Hettinger
f715366f23 Reduce the usage of the types module. 2005-02-07 14:16:21 +00:00
Brett Cannon
84667c063a Change code in setup.py for parsing LDFLAGS and CPPFLAGS to use optparse
instead of getopt.  Required making use of gettext._ as optional (optparse
changed OK'ed by Greg Ward in private email).
2004-12-07 03:25:18 +00:00
Greg Ward
48aa84b24d Update optparse module and test suite to Optik 1.5a2. 2004-10-27 02:20:04 +00:00
Neal Norwitz
1338946c7b Use proper value for False 2004-10-17 16:24:25 +00:00