Laurent Pointal wrote: > And so the solution to add "global foo" before using it.
Didn't you read his final question? | All of a sudden, tiny() can see the global variable "foo". Very | confusing! Why is it that tiny() sometimes can, and sometimes | can't, see the global variable "foo"? I have no explanation for this, but I'm interested in one, too. Regards, Björn -- BOFH excuse #422: Someone else stole your IP address, call the Internet detectives! -- http://mail.python.org/mailman/listinfo/python-list