[Python-ideas] crazy ideas

Aaron Brady castironpi at comcast.net
Tue May 22 22:14:42 CEST 2007


> -----Original Message-----
> From: python-ideas-bounces at python.org [mailto:python-ideas-
> bounces at python.org] On Behalf Of Neil Toronto
> Sent: Tuesday, May 22, 2007 3:10 PM
> Cc: python-ideas at python.org
> Subject: Re: [Python-ideas] crazy ideas
> 
> Aaron Brady wrote:
> >> -----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.
> >
> 
> I dust the dashboard.
> 
> Neil

Radio's sounding good.  It's the crap vs. worse crap finals.




More information about the Python-ideas mailing list