Thoughts on new grammar rules (PEP 284 in particular)

Gustavo Niemeyer niemeyer at conectiva.com
Fri May 10 15:37:01 EDT 2002


> We could then have...
> 
> range checking...
> 
>   if [* check 0 <= x < 10 *] :
>     print "OK"
> 
> for loop...
> 
>   for [* range 0 <= x < 10 *] :
>     pass

Hummm... I'll start to write a museum of weird suggestions.. :-))

-- 
Gustavo Niemeyer

[ 2AAC 7928 0FBF 0299 5EB5  60E2 2253 B29A 6664 3A0C ]





More information about the Python-list mailing list