summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* hack the tests to not have failures on py 2.3 and 3.xbaserock/morphThomas Waldmann2011-03-311-2/+7
|
* fix Python 3.1 compatibility, 1 test failure see note belowThomas Waldmann2011-03-302-1/+9
| | | | | | | | Note: There is one harmless test failure due to "basestring" global name, I added a comment to the src about it. It is basically same issue as on python 2.3 with "set" and "sorted".
* Removed tag 1.2Thomas Waldmann2011-03-270-0/+0
|
* tagged release 1.2 as r12Thomas Waldmann2011-03-270-0/+0
|
* fix classifier (old one was rejected by pypi)r12Thomas Waldmann2011-03-271-1/+1
|
* bump version to 1.2, add NEWS.txt to dist archiveThomas Waldmann2011-03-272-2/+2
|
* add NEWS.txtThomas Waldmann2011-03-271-0/+6
|
* fix MANIFEST.inThomas Waldmann2011-03-271-2/+5
|
* add env2x/ to .hgignoreThomas Waldmann2011-03-271-1/+4
|
* use _build for the sphinx build dirThomas Waldmann2011-03-273-3/+3
|
* run sphinx-quickstart, move doc source to source/Thomas Waldmann2011-03-277-0/+601
|
* compatibility, installation, bug reporting docsThomas Waldmann2011-03-271-0/+30
|
* make most tests work on python 2.3Thomas Waldmann2011-03-272-1/+37
|
* make tests work on python 2.4Thomas Waldmann2011-03-272-2/+12
|
* make tests work on python 2.5Thomas Waldmann2011-03-271-25/+21
|
* make tests work on python 2.6Thomas Waldmann2011-03-261-5/+6
|
* add support files for setuptools/distributeThomas Waldmann2011-03-263-0/+65
|
* add a .hgignoreThomas Waldmann2011-03-261-0/+10
|
* add a new README.txt and LICENSE.txtThomas Waldmann2011-03-262-0/+35
|
* add files from python 2.7.1 (Python License)Thomas Waldmann2011-03-264-0/+8733
|
* licensing issues: we need a clean restart here - remove everythingThomas Waldmann2011-03-2616-8522/+0
| | | | | | | | | | | | | | | | | | | | Problem: argparse has been licensed under Apache License v2.0 While this license is a FOSS license, it has known compatibility issues with the GNU GPL v2 - projects under GPL v2 can't use code under apache license v2.0. Projects which use "GPL v2 (or, at user's choice, any later version)" only have one means using code under apache license v2.0: to choose the "or any later" part and go GPL v3. Of course, this would cause issues with other license.... As argparse was contributed to the Python v2.7 code base, it is available under the Python License, which has no such compatibility issue. Thus, a clean solution for the argparse package (for users who need argparse for projects which have to support python older than 2.7) is to remove all old apache licensed files and start from scratch using the python-licensed code from the standard library.
* remove autogenerated html documentationThomas Waldmann2011-03-2621-4305/+0
| | | | | | | can be regenerated by: cd doc sphinx-build source .
* update tagsconvert-repo2011-03-260-0/+0
|
* Release argparse 1.1.r11steven.bethard2010-03-0115-61/+61
|
* Better error messages for errors like type='int'. This actually caught a bug ↵steven.bethard2010-02-283-1/+14
| | | | in one of the tests and as I result, this patch also makes sure that types display as their type name when %(type)s is specified.
* Allow single character options, e.g. '-' and '+'.steven.bethard2010-02-283-19/+31
|
* Deprecate ArgumentParser(..., version=XXX, ...) as well as format_version() ↵steven.bethard2010-02-289-48/+43
| | | | and print_version(). These should be replaced with .add_argument(..., action='version', ...).
* Try to be more robust in tests for non .py files (.pyc and variants).steven.bethard2010-02-281-2/+2
|
* Namespace objects now support "in" (__contains__).steven.bethard2010-02-283-27/+71
| | | | Usage and help (but not version) messages are written to stdout, not stderr.
* Add convert_arg_line_to_args to allow subclasses to easily override file ↵steven.bethard2010-01-079-7/+87
| | | | parsing behavior.
* Fix bug where --si=64 was deemed ambiguous when both --si and --size were in ↵steven.bethard2009-12-072-0/+26
| | | | the parser.
* Add support for nargs='...', which allows emulation of command lines like ↵steven.bethard2009-12-062-5/+30
| | | | "python [options] file [arguments]".
* Add get_default method.steven.bethard2009-12-066-3/+59
|
* Fix setup.py bugs caught by Yuvgoog.steven.bethard2009-11-071-3/+5
|
* Fix misplaced discussion of add_help and parent parsers.steven.bethard2009-10-313-4/+5
|
* Allow better custom type error messages using ArgumentTypeError.steven.bethard2009-10-246-6/+43
|
* Support more customization of version arguments.steven.bethard2009-10-248-11/+49
|
* Better error messages when 'dest' occurs twice for positional argumentssteven.bethard2009-10-243-0/+14
|
* Better error messages for invalid actions.steven.bethard2009-10-243-6/+27
|
* Bump version to 1.1a1.steven.bethard2009-10-2415-60/+60
|
* Fix bug where options with a single letter were being considered as numbers.steven.bethard2009-10-092-1/+18
|
* Add missing comma in __all__ declaration.steven.bethard2009-09-302-1/+12
|
* Make sure exit() calls _print_message() instead of writing directly to ↵steven.bethard2009-09-291-1/+1
| | | | sys.stderr.
* Fix encoding test. Boy, let's see if I can ever get this right. ;-)steven.bethard2009-09-161-1/+1
|
* Fix encoding test.steven.bethard2009-09-161-3/+1
|
* Fix issue where test was reading in .pyc file instead of .py file.steven.bethard2009-09-151-2/+9
|
* Bump version numbers to 1.0.2.steven.bethard2009-09-1515-60/+60
|
* Fix newline regular expression issues - they were still a problem because ↵steven.bethard2009-09-151-2/+2
| | | | the README generated on Windows may be used from a source .zip downloaded to Unix.
* Add NEWS file.r101steven.bethard2009-09-152-0/+12
|
* Fix a bug that was preventing % from being used in help messages.steven.bethard2009-09-132-5/+39
|