On Sat, 2006-03-25 at 16:21 +1200, Greg Ewing wrote:
> Adam DePrince wrote:
> 
> > I'm curious, however, what do you envision the semantics of [x times i]
> > being?
> 
>    [x for _i in xrange(i)]
> 
> Greg

So [[x times n] times m]  would be really the same as n*[m*[0,]]

So its different than list*int ... 

It looks pretty, but to grow the language and add a keyword for what
some might call syntactic saccharine.  I'd vote -1.  

Cheers - Adam DePrince

_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to