Hi,

I know I can get the attribute name in some way, but since I just want the 
attribute name when an AttributeError caused by it raised, I really don't want 
to inspect the string or introduce one more layer over getattr. I hope I can 
get the attribute which causes the exception from the AttributeError raised 
directly. But it seems I can't.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to