wish list for python
David
tocino at wanadoo.es
Fri Oct 24 14:40:00 EDT 2003
Con fecha Fri, 24 Oct 2003 06:47:27 +0200
Jim Newton <jimka at rdrop.com> escribió:
> does anyone know where i can find the current wish-list or to-do list
> for futer python releases?
>
> Does anyone know if there is a play to allow non-evaluatable
> statements to return values? I'm only a week to this language so
> far but it seems very strange to me (coming from a list background)
> that i cannot somehow say
> x = if a:
> then b
> else c
>
> or
>
> x = for i in some-sequence:
> blah blah blah.
>
>
> and what about something like the following?
>
> x = cond:
> a > 1:
> 0
> a > 10:
> 1
> a > 100:
> 2
> True:
> -1
>
Try Ruby! ;-)
More information about the Python-list
mailing list