[Python-Dev] Worse news

Thomas Wouters thomas@xs4all.net
Tue, 23 Jan 2001 00:31:03 +0100


On Tue, Jan 23, 2001 at 12:26:02AM +0100, Thomas Wouters wrote:
> On Tue, Jan 23, 2001 at 12:21:14PM +1300, Greg Ewing wrote:
> > Thomas Wouters <thomas@xs4all.net>:
> 
> > > You can't have doublestar without having star
> 
> > What?!? You could in 1.5.2. Has that changed?

> Sorry, my bad, I'm wrong. (I just tested this.) I could swear it was that
> way, but it's 0:25 right now, after a night with about 2 hours decent sleep,
> so ignore my delusions :)

Ah, yeah, what I meant to *think* was: you can't have *spam *after* **eggs:

>>> def foo(x, **kwarg, *arg)
  File "<stdin>", line 1
    def foo(x, **kwarg, *arg)
                      ^
SyntaxError: invalid syntax

So the logic of the latter part of the function seems okay (after the little
patch I posted before.) Jeremy should give his expert opinion before it goes
in, though, since it's his code :)

-- 
Thomas Wouters <thomas@xs4all.net>

Hi! I'm a .signature virus! copy me into your .signature file to help me spread!