pre-PEP for optional 'pass'

phil hunt philh at comuno.freeserve.co.uk
Tue Apr 16 18:23:19 EDT 2002


On Tue, 16 Apr 2002 00:53:33 GMT, Andrei Kulakov <ak at silmarill.org> wrote:
>In article <slrnabmoci.dhk.philh at comuno.freeserve.co.uk>, phil hunt wrote:
>> 
>> OK, I've decided to write a PEP. Preliminary to this, I'd like 
>> people's comments.
>> 
>> I wish to make the pas startement optional. That is, in any Python 
>> program where there is a pass it can be left out and the meaning of 
>> the program is unchanged.
>> 
>
>[snip]
>
>I think the idea behind pass is that usually not having anything in
>a conditional is a mistake, so we want to be informed about it. Putting
>pass is like saying "I'm sure that's what I want."

I'm sure what I want, without needing to explicitly say it.



-- 
<"><"><"> Philip Hunt <philh at comuno.freeserve.co.uk> <"><"><">
"I would guess that he really believes whatever is politically 
advantageous for him to believe." 
                        -- Alison Brooks, referring to Michael
                              Portillo, on soc.history.what-if



More information about the Python-list mailing list