lp:argparse

Created by Barry Warsaw and last modified
Get this branch:
bzr branch lp:argparse

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Barry Warsaw
Project:
argparse
Status:
Development

Import details

Import Status: Failed

This branch is an import of the Subversion branch from http://argparse.googlecode.com/svn/trunk/.

The import has been suspended because it failed 5 or more times in succession.

Last successful import was .

Import started on pear and finished taking 15 seconds — see the log
Import started on pear and finished taking 15 seconds — see the log
Import started on pear and finished taking 15 seconds — see the log
Import started on pear and finished taking 10 seconds — see the log

Whiteboard

approved 2010-03-10 barry

Recent revisions

77. By steven.bethard

Release argparse 1.1.

76. By steven.bethard

Better error messages for errors like type='int'. This actually caught a bug 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.

75. By steven.bethard

Allow single character options, e.g. '-' and '+'.

74. By steven.bethard

Deprecate ArgumentParser(..., version=XXX, ...) as well as format_version() and print_version(). These should be replaced with .add_argument(..., action='version', ...).

73. By steven.bethard

Try to be more robust in tests for non .py files (.pyc and variants).

72. By steven.bethard

Namespace objects now support "in" (__contains__).
Usage and help (but not version) messages are written to stdout, not stderr.

71. By steven.bethard

Add convert_arg_line_to_args to allow subclasses to easily override file parsing behavior.

70. By steven.bethard

Fix bug where --si=64 was deemed ambiguous when both --si and --size were in the parser.

69. By steven.bethard

Add support for nargs='...', which allows emulation of command lines like "python [options] file [arguments]".

68. By steven.bethard

Add get_default method.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers