Pythoncal, anyone? (My (late) beef with Simple Generator syntax (PEP 255))

Terry Reedy tjreedy at udel.edu
Thu Nov 21 13:06:32 EST 2002


"Greg Ewing" <see_reply_address at something.invalid> wrote in message
news:3DDC720E.4070206 at something.invalid...
> And of course it will be interesting deciding on
> the semantics of
>
>    def f():
>      don't pass

In The Science of Programming, David Gries (possibly copying
predecessors) introduced the abort == don't pass statement.  In
Python, assert 0 is perhaps closest.

TJR





More information about the Python-list mailing list