Non-obvious name bindings

Andrew Dalke dalke at
Thu Nov 15 04:39:50 CET 2001

Rainer Deyke:
>This will not compile on a conforming C++ compiler.

More historically, about 5 years ago C++ switched from having

  for(int i=0; ...) {

put the 'i' in the scope outside the 'for' loop to only
being valid inside the for loop.


More information about the Python-list mailing list