barry at python.org
Thu Oct 23 11:05:57 EDT 2003
On Thu, 2003-10-23 at 10:56, Guido van Rossum wrote:
> > In a crazy, I-haven't-yet-had-my-coffee-yet desperate attempt at
> > resurrecting PEP 274, what if we made dict (and maybe tuple)
> > accumulator functions too?
> There's nothing magical about accumulator functions; they're just
> functions taking an iterable. We have tons of these today, and
> tuple() and dict() are among them. Once the syntax works,
> dict((k,k) for k,k in "hello")
> will with without changes to dict.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 307 bytes
Desc: This is a digitally signed message part
Url : http://mail.python.org/pipermail/python-dev/attachments/20031023/cd65cd86/attachment.bin
More information about the Python-Dev