On Sat, Mar 15, 2008 at 6:07 PM, Greg Ewing <[EMAIL PROTECTED]> wrote:
> Thomas Wouters wrote: > > >>> a, b = *c > > File "<stdin>", line 1 > > SyntaxError: can use starred expression only as assignment target > > That error message isn't really accurate, since in > > > >>> a, b = (*c,) > the *c is not an assignment target. > Dear lord, give me a chance to fix up all the details before you trip over things like that. I wrote the patch for load-context-star in half a day at pycon, I didn't bother to update the error message yet. > Also, the message implies that > > *c = a, b > > should be valid -- is it? > No, but that's not related to this patch (but rather the PEP-3132 implementation.) -- Thomas Wouters <[EMAIL PROTECTED]> Hi! I'm a .signature virus! copy me into your .signature file to help me spread!
_______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com