[Python-Dev] "begin" as keyword for pep 340

Reinhold Birkenfeld reinhold-birkenfeld-nospam at wolke7.net
Wed May 4 18:57:58 CEST 2005


Adam Souzis wrote:
> I'm a bit surpised that no one has yet [1] suggested "begin" as a
> keyword instead "block" as it seems to express the intent of blocks
> and is concise and readable.  For example, here are the examples in
> PEP 340 rewritten using "begin":
> 
> begin locking():
>    ...

I don't know, but I always would expect "end" to follow each begin
somewhere...

the-good-old-pascal-days-ly yours,
Reinhold

PS: What about "using"? Too C#-ish?

-- 
Mail address is perfectly valid!



More information about the Python-Dev mailing list