[issue15435] Strange behavior when AttributeError raise inside a property get function
report at bugs.python.org
Tue Jul 24 12:05:00 CEST 2012
Nick Coghlan <ncoghlan at gmail.com> added the comment:
Yup. It's unfortunate, but there's really nothing we can do about it - some protocols use exceptions, and if you raise an exception type that is part of the defined protocol as the result of a genuine error, then you're going to have a fun debugging exercise to deal with.
You'll often see a similar misdiagnosis with TypeError in conversion functions that try several different conversion techniques.
resolution: -> wont fix
status: open -> closed
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list