[Bug 537751] Re: [FFE] Upgrade python-argparse to 1.1 (latest upstream & Debian version)
asac at ubuntu.com
Mon Apr 12 10:30:01 BST 2010
barry. if you need help on getting this in , ping me on irc.
[FFE] Upgrade python-argparse to 1.1 (latest upstream & Debian version)
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is a direct subscriber.
Status in “argparse” package in Ubuntu: Confirmed
argparse 1.1 provides a number of fixes and a few small enhancements to version 1.0.1 which is currently available in universe. Version 1.1 is the latest released upstream. Note that I've also submitted a MIR for argparse (bug 537743) and a branch to update the source package to 1.1 (bug 537484). It was pointed out in the latter that Debian has already updated, so we should sync to that.
=== modified file 'NEWS.txt'
--- NEWS.txt 2009-10-12 18:04:37 +0000
+++ NEWS.txt 2010-03-11 16:59:54 +0000
@@ -1,3 +1,19 @@
+What's New in argparse 1.1
+- Issue #22: Support more customization of version arguments.
+- Issue #34: Allow better custom type error messages using ArgumentTypeError.
+- Issue #36: Get "from argparse import *" working.
+- Issue #37: Stop treating two character alphanumeric flags as numbers.
+- Issue #38: Better error messages when 'dest' occurs twice for positional arguments.
+- Issue #39: Better error messages for invalid actions.
+- Issue #43: Deprecate ArgumentParser(..., version=XXX, ...) and friends.
+- Issue #46: Allow single character options, e.g. '-' and '+'.
+- Issue #51: Better error messages for errors like type='int'.
+- Namespace objects now support "in" (i.e. __contains__).
+- Usage and help (but not version) messages are written to stdout, not stderr.
What's New in argparse 1.0.1
I've asked the upstream author for confirmation, but I do not think any of the
above changes will break existing code.
More information about the Ubuntu-sponsors