Re: getting rid of pass

2006-05-13 Thread Bruno Desthuilliers
David Murmann a écrit : > Hi all! > > i just had this crazy idea: > > instead of > > while cond(): >pass > > write > > while cond(). Yuck > or > > try: >import xyz > except ImportError: >pass > > compared to > > try: >import xyz > except ImportError. Yuck again > i don't

Re: getting rid of pass

2006-05-12 Thread John Machin
On 13/05/2006 11:40 AM, David Murmann wrote: > Hi all! > > i just had this crazy idea: You said it. > late-in-the-night idea. You said it again. > > what do you people think? I agree with you. -- http://mail.python.org/mailman/listinfo/python-list

Re: getting rid of pass

2006-05-12 Thread Terry Reedy
"David Murmann" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > i just had this crazy idea: Agreed ;-) > instead of > while cond(): >pass > write > while cond(). Viewing statememts as functions of the program state, pass is the identity function/statement. Many languages ha