RFC: Viper: yet another python implementation

Martin von Loewis loewis at informatik.hu-berlin.de
Mon Aug 16 04:55:01 EDT 1999


graham at sloth.math.uga.edu (Graham Matthews) writes:

> : 	s = ""
> : 	for  i in range(1,10): s = s + str(i)
> : 
> : Obviously i is an integer here, and s a string.
> 
> Is it? Surely that depends on what "range" and "+" are bound to at
> runtime.

He said that in Viper, range is a keyword. How could you bind "+" to
something else in the example?

Regards,
Martin




More information about the Python-list mailing list