> I expect it would do less harm to introduce a compile-time warning for > locals that are never referenced (such as the "a" in "set"). Another warning that would be quite useful (and trap similar cases) would be "local variable used before set". --Guido van Rossum (home page: http://www.python.org/~guido/)