"Neal Becker" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] | One thing I sometimes miss, which is common in some other languages (c++), | is idea of block scope. It would be useful to have variables that did not | outlive their block, primarily to avoid name clashes. This also leads to | more readable code. I wonder if this has been discussed?
Yes, but Guido (and others) prefer to keep things simple. There is also the question of how to indicate a limited scope. In C++, you put the declaration in the scope. But Python has no such declarations. tjr -- http://mail.python.org/mailman/listinfo/python-list