En Thu, 29 Mar 2007 15:56:54 -0300, Mitko Haralanov <[EMAIL PROTECTED]>  
escribió:

>> You may check if this is the case, looking at sys.modules
>
> I did look at sys.modules but I wasn't sure what to look for. There was
> a log module in the list but what else should I look for?

If you think that Python got confused and has two duplicate modules, try  
to find them in sys.modules. Perhaps under the names 'log' and 'xxx.log'
Or, using print, try to see *when* your global variable is reset to None.

-- 
Gabriel Genellina

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to