On 7/8/06, Ka-Ping Yee <[EMAIL PROTECTED]> wrote:
> On Sat, 8 Jul 2006, Calvin Spealman wrote:
> > Just throwing this out there, but I would love to see a complete
> > dropping of container literals from Python. That is why I proposed the
> > coercion syntax (ex: list from something) because it would allow
> > things like list(1, 2, 3) and we can already do dict(ten=10,
> > eleven=11), so what is the real need for literals as they are?
>
> This to me makes about as much sense as forcing programmers to write
> str('h', 'e', 'l', 'l', 'o') instead of 'hello'.I don't see a correlation between those. I don't see strings as a container type, either. This also changes, drastically, how we would write every element within the container, which nothing I've proposed does. _______________________________________________ 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
