[Python-ideas] crazy ideas

Aaron Brady castironpi at comcast.net
Tue May 22 21:58:29 CEST 2007


> -----Original Message-----
> From: Ian D. Bollinger [mailto:ian.bollinger at gmail.com]
> Sent: Tuesday, May 22, 2007 2:54 PM
> 
> Josiah Carlson wrote:
> > In terms of having a syntax for deques, I honestly don't see the problem
> > with deque([a,b,c]).  It has all of 6 more characters to type than your
> > proposed d{a,b,c} syntax, without cluttering up the language with yet
> > another bit of syntax that can be replaced with a 2 line function...
> >
> > def d(*args):
> >     return deque(args)
> >
> But what about all the memory overhead of constructing the list argument?!
> (I turn off my car radio to save gas.)

I take the bowling ball out of my trunk.




More information about the Python-ideas mailing list