logic behind the assert syntax?

Niels Diepeveen niels at endea.demon.nl
Wed Aug 30 14:21:08 EDT 2000


Greg Ewing schreef:

> Parentheses could have
> been required around tuple constructors, and that would have
> relieved some of the confusion, and left more options open
> for future language extensions.
That's true. It wouldn't take care of the ugly (a,) though.

> The language wasn't designed
> that way, though, and we're stuck with the consequences.
I think I heard a convincing reason for that once, but I can't remember
what it was.

-- 
Niels Diepeveen
Endea automatisering





More information about the Python-list mailing list