Sounds like something, either in your program, in another lib you imported, or perhaps some extension you recently installed (and which automatically starts), overrides 'import' (replaces it with it's own version) -- and forgets to add the imported modules properly to the globlals? Or something, some option, that perhaps changes the way that Python recognizes globals?
If you declare another global variable, then try to use it in your function, then what's the result? What Python version do you use? cheers, --Tim -- http://mail.python.org/mailman/listinfo/python-list