En Thu, 05 Apr 2007 02:40:38 -0300, Xell Zhang <[EMAIL PROTECTED]>  
escribió:

> hello all,
> I am a newbie in Python.
> In my module, if I call urllib.urlopen() function like:
> url = "http://www.google.com/";
> source = urllib.urlopen(url)
>
> Then in the output there will be an exception:
> Exception exceptions.AttributeError: "'NoneType' object has no attribute
> 'print_exc'" in <bound method FancyURLopener.__del__ of <
> urllib.FancyURLopener instance at 0x00D59AA8>> ignored
>
>
> I do not know why, if I did something wrong?

It works OK for me (I don't get any exception).
Such messages happen when any __del__ method raises any exception; it  
can't be handled normally so Python just logs the error on the console.
Can you provide a complete and small example showing the problem?

-- 
Gabriel Genellina

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

Reply via email to