"Fredrik Lundh" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]

> in some early C++ compilers, the scope for "x" was limited to the scope
> containing the for loop, not the for loop itself.  some commercial 
> compilers
> still default to that behaviour.

Indeed--and the standards committee dithered far too long before correcting 
it.

The argument that finally swayed them was this:

    If you change it, you will be ridiculed for a few years.

    If you do not change it, you will be ridiculed for the rest of your 
careers.


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to