Re: [Python-Dev] Keyword for block statements

2005-05-01 Thread Nick Coghlan
Ka-Ping Yee wrote: The programmer who writes the function used to introduce a block can hardly be relied upon to explain the language semantics. We don't expect the docstring of every class to repeat an explanation of Python classes, for example. The language reference manual is for that; it's a

Re: [Python-Dev] Keyword for block statements

2005-05-01 Thread Guido van Rossum
[Nick Coghlan] Would 'suite' work as the keyword? Calling these things 'suite' statements would match the Python grammar, Actually that's an argument *against* -- too confusing to have two things we call suite. give an obvious visual indicator through the use of a keyword, reduce any

[Python-Dev] Keyword for block statements

2005-04-30 Thread Ka-Ping Yee
On Fri, 29 Apr 2005, Phillip J. Eby wrote: At 08:21 PM 4/29/05 -0500, Ka-Ping Yee wrote: All the statements in Python are associated with keywords, except for assignment, which is simple and extremely common. I don't think the block statement is simple enough or common enough for that; its