pre-PEP for optional 'pass'

Terry Reedy tejarex at yahoo.com
Tue Apr 16 22:50:56 EDT 2002


"phil hunt" <philh at comuno.freeserve.co.uk> wrote in message
news:slrnabp9cs.ipr.philh at comuno.freeserve.co.uk...
> >Thanks for proposing this. I'm sure you'll get lots of horrified
> >reactions
>
> I don't see why: people who like pass can still use it.

I am not horrified, however, I do have two objections:

1. We will have two styles of Python to read: with and without pass.
I expect this would be confusing, especially since one would not know
for sure until one sees a pass.

2. Newcomers will wonder why we have it if it is not required.  Then
they will wonder "should I use it or not" and post requests for
advice.

It would have been ok with me, I think, if the language had allowed
null suites from the beginning, but it is now to late, practically
speaking, to remove pass.

Terry J. Reedy






More information about the Python-list mailing list