[Bug 1048710] Re: Regression in argparse for Python 2.7, 3.2 and 3.3
This bug was fixed in the package python2.7 - 2.7.3-5ubuntu2 --- python2.7 (2.7.3-5ubuntu2) quantal; urgency=low * Update to 20120915, taken from the 2.7 branch. Posix relevant patches: - Issue #15906: Fix a regression in argparse caused by the preceding change, when action='append', type='str' and default=[]. LP: #1048710. - Issue #15908: Fix misbehaviour of the sha1 module when called on data larger than 2**32 bytes. - Issue #15910: Fix misbehaviour of _md5 and sha1 modules when updating on data larger than 2**32 bytes. -- Matthias Klose d...@ubuntu.com Sat, 15 Sep 2012 12:11:28 +0200 ** Changed in: python2.7 (Ubuntu) Status: Confirmed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1048710 Title: Regression in argparse for Python 2.7, 3.2 and 3.3 To manage notifications about this bug go to: https://bugs.launchpad.net/python/+bug/1048710/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1048710] Re: Regression in argparse for Python 2.7, 3.2 and 3.3
This bug was fixed in the package python3.2 - 3.2.3-6ubuntu2 --- python3.2 (3.2.3-6ubuntu2) quantal; urgency=low * Update to 20120915 from the 3.2 branch. Linux relevant fixes: - Issue #15842: the SocketIO.{readable,writable,seekable} methods now raise ValueError when the file-like object is closed. - Issue #15906: Fix a regression in argparse caused by the preceding change, when action='append', type='str' and default=[]. LP: #1048710. - Issue #15793: Stack corruption in ssl.RAND_egd(). -- Matthias Klose d...@ubuntu.com Sat, 15 Sep 2012 12:14:18 +0200 ** Changed in: python3.2 (Ubuntu) Status: Confirmed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1048710 Title: Regression in argparse for Python 2.7, 3.2 and 3.3 To manage notifications about this bug go to: https://bugs.launchpad.net/python/+bug/1048710/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1048710] Re: Regression in argparse for Python 2.7, 3.2 and 3.3
Thanks for doing this on a Saturday doko. Confirming, this fixes Juju. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1048710 Title: Regression in argparse for Python 2.7, 3.2 and 3.3 To manage notifications about this bug go to: https://bugs.launchpad.net/python/+bug/1048710/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1048710] Re: Regression in argparse for Python 2.7, 3.2 and 3.3
** Changed in: python Status: New = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1048710 Title: Regression in argparse for Python 2.7, 3.2 and 3.3 To manage notifications about this bug go to: https://bugs.launchpad.net/python/+bug/1048710/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1048710] Re: Regression in argparse for Python 2.7, 3.2 and 3.3
Upstream branches should now have the proper fixes for this issue. There may be some follow-on doc clarifications but others, but functionally, you should be good to go. Assigning the Ubuntu tasks back to Doko for package updates as per irc. ** Changed in: python2.7 (Ubuntu) Assignee: Barry Warsaw (barry) = Matthias Klose (doko) ** Changed in: python3.2 (Ubuntu) Assignee: Barry Warsaw (barry) = Matthias Klose (doko) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1048710 Title: Regression in argparse for Python 2.7, 3.2 and 3.3 To manage notifications about this bug go to: https://bugs.launchpad.net/python/+bug/1048710/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1048710] Re: Regression in argparse for Python 2.7, 3.2 and 3.3
This seems related, might even be the same, but fails with a different case/error message: #-- begin code-- import argparse import sys parser = argparse.ArgumentParser() parser.add_argument(--log-file, -l, default=sys.stderr, type=argparse.FileType('a')) args = parser.parse_args() #-- end code-- $ python bin/test-broken.py usage: test-broken.py [-h] [--log-file LOG_FILE] test-broken.py: error: argument --log-file/-l: invalid FileType('a') value: open file 'stderr', mode 'w' at 0x7f201a0fc270 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1048710 Title: Regression in argparse for Python 2.7, 3.2 and 3.3 To manage notifications about this bug go to: https://bugs.launchpad.net/python/+bug/1048710/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1048710] Re: Regression in argparse for Python 2.7, 3.2 and 3.3
** Changed in: python2.7 (Ubuntu) Assignee: Matthias Klose (doko) = Barry Warsaw (barry) ** Changed in: python3.2 (Ubuntu) Assignee: Matthias Klose (doko) = Barry Warsaw (barry) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1048710 Title: Regression in argparse for Python 2.7, 3.2 and 3.3 To manage notifications about this bug go to: https://bugs.launchpad.net/python/+bug/1048710/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1048710] Re: Regression in argparse for Python 2.7, 3.2 and 3.3
** Changed in: python Status: Unknown = New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1048710 Title: Regression in argparse for Python 2.7, 3.2 and 3.3 To manage notifications about this bug go to: https://bugs.launchpad.net/python/+bug/1048710/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1048710] Re: Regression in argparse for Python 2.7, 3.2 and 3.3
Bug #1048710 reports this to cause a critical regression with juju. Matthias, please take a look ASAP. ** Changed in: python2.7 (Ubuntu) Importance: Undecided = Critical ** Changed in: python3.2 (Ubuntu) Importance: Undecided = Critical ** Changed in: python3.2 (Ubuntu) Assignee: (unassigned) = Matthias Klose (doko) ** Changed in: python2.7 (Ubuntu) Assignee: (unassigned) = Matthias Klose (doko) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1048710 Title: Regression in argparse for Python 2.7, 3.2 and 3.3 To manage notifications about this bug go to: https://bugs.launchpad.net/python/+bug/1048710/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1048710] Re: Regression in argparse for Python 2.7, 3.2 and 3.3
Sorry, wrong bug #; I meant bug #1048864. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1048710 Title: Regression in argparse for Python 2.7, 3.2 and 3.3 To manage notifications about this bug go to: https://bugs.launchpad.net/python/+bug/1048710/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs