Proposed PEP for a Conditional Expression

Marcin 'Qrczak' Kowalczyk qrczak at knm.org.pl
Tue Sep 11 09:39:43 EDT 2001


Tue, 11 Sep 2001 12:26:04 +0000 (UTC), thp at cs.ucr.edu <thp at cs.ucr.edu> pisze:

>       WORKAROUND_7
>            >  eval( c and "<expression a>" or "<expression b>" )
>            I don't like this hack either, but under interpretative 
>            execution it's probably more efficient than creating 
>            one-member lists (see WORKAROUND_3).

I don't believe.

-- 
 __("<  Marcin Kowalczyk * qrczak at knm.org.pl http://qrczak.ids.net.pl/
 \__/
  ^^                      SYGNATURA ZASTĘPCZA
QRCZAK



More information about the Python-list mailing list