[Bug 1048710] Re: Regression in argparse for both python2.7 and python3.2

2012-09-10 Thread Stéphane Graber
Barry actually noticed that it's not an empty string as I had assumed, it's the string []. So it looks like the new version of python now sets the default value to type(default) which in this case would be str([]) explaining that value. It's still different from what we'd get with earlier

[Bug 1048710] Re: Regression in argparse for both python2.7 and python3.2

2012-09-10 Thread Stéphane Graber
** Package changed: ubuntu = python2.7 (Ubuntu) ** Also affects: python3.2 (Ubuntu) Importance: Undecided Status: 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:

[Bug 1048710] Re: Regression in argparse for both python2.7 and python3.2

2012-09-10 Thread Barry Warsaw
This is going to affect 3.3 also when Ubuntu gets 3.3 final, since I just checked upstream hg head and it is broken there, even though it works in today's python3.3 package. ** Bug watch added: Python Roundup #15906 http://bugs.python.org/issue15906 ** Also affects: python via