> So maybe the idea of using function attributes isn't totally nuts, if > you use a special name. E.g. outer.__locals__.x and outer.__globals__.x -1. Way too ugly. --Guido van Rossum (home page: http://www.python.org/~guido/)