[wingide-users] Strange exception in debugger

Wingware Support support at wingware.com
Mon Oct 16 10:54:37 MDT 2006

On Mon, 16 Oct 2006, Konrad Hinsen wrote:
> When I run my application in the debugger, it crashes with an exception in a
> __getattr__ method where the requested attribute is "__hash__", which the
> object doesn't have. There is no code in the stack trace that requests
> "__hash__", so I suspect that it's a request originating in the Python
> interpreter. Outside of the debugger, there is no exception and hash() applied
> to that object returns id(), which is at it should be.
> Is this a case where I should check "ignore this exception location"? I don't
> want to remove exception checking for the __getattr__ method as a whole, just
> for the "__hash__" attribute.

Yes.  There are details on all this here:


If you could send us the stack trace you're seeing first, 
however, that would be useful.  I'm not sure but I think this 
case should be covered automatically.


Stephan Deibel

Wing IDE for Python
Advancing Software Development


More information about the wingide-users mailing list