[Python-Dev] Issue 15906; regression in argparse in Python 3.3, 3.2, and 2.7

Georg Brandl g.brandl at gmx.net
Tue Sep 11 22:13:00 CEST 2012


On 11.09.2012 21:25, Barry Warsaw wrote:
> On Sep 11, 2012, at 03:08 PM, Barry Warsaw wrote:
> 
>>Are you sure about that?
>>
>>% ./python
>>Python 3.3.0rc2+ (default:6fea947edead, Sep 11 2012, 15:03:16) 
> 
> Never mind.  Georg didn't pull that patch into his release clone.
> 
> (Aside: Georg, maybe you could fiddle with the default branch's version
> numbers so that it reflects being 3.3.1a1?)

Well, it's not yet.

> (Aside 2: releasing/3.3.0 is broken:
> 
> Traceback (most recent call last):
>   File "/home/barry/projects/python/3.3.0/Parser/asdl.py", line 309, in visit
>     meth(object, *args)
>   File "./Parser/asdl_c.py", line 1043, in visitSum
>     self.simpleSum(sum, name)
>   File "./Parser/asdl_c.py", line 1067, in simpleSum
>     self.emit("default:" % name, 2)
> TypeError: not all arguments converted during string formatting
> make: *** [Python/Python-ast.c] Error 1
> )

This bug is not specific to that repository.  Not sure how you hit the bug; a
fresh checkout doesn't do it for me here.

Georg



More information about the Python-Dev mailing list