On 4/24/06, Guido van Rossum <[EMAIL PROTECTED]> wrote:
> On 4/24/06, Alex Martelli <[EMAIL PROTECTED]> wrote:
> > On 4/24/06, Greg Wilson <[EMAIL PROTECTED]> wrote:
> > > Interesting --- I think that being able to write down a data structure
> > > using the same sort of notation you'd use on a whiteboard in a high school
...
> > IOW, it doesn't seem to me that the "high school whiteboard" test can
> > be even very roughly approximated, so focusing on it for
...
> Nobody said anything about high-school whiteboards.
Greg just did, and I had quoted that phrase -- see above.
> sense that {F(x) for x in S if P(x)}, ough to be valid syntax if we
> support {1, 2, 3} -- IOW the form {<genexp>} should mean the same as
> set(<genexp>).
I dislike that as much as I dislike [<genexp>] as a shorthand for
list(<genexp>), but I have no trouble admitting that if we have the
[...] form, it's consistent to have the {...} one too.
Alex
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe:
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com