"?:", "a and b or c" or "iif"

Hrvoje Niksic hniksic at srce.hr
Wed May 26 19:26:39 EDT 1999


Jeremy Hylton <jeremy at cnri.reston.va.us> writes:

> >>>>> "HN" == Hrvoje Niksic <hniksic at srce.hr> writes:
> 
>   HN> "Tim Peters" <tim_one at email.msn.com> writes:
>   >> (x and [a] or [b])[0]-ly y'rs - tim
> 
>   HN> Can Python's optimizer optimize away the consing?
> 
> Which optimizer would that be?

Uh, the one that creates `.pyo' files as opposed to `.pyc'?




More information about the Python-list mailing list