Karthikeyan Singaravelan <tir.kar...@gmail.com> added the comment:

Sorry I misread your title stating it's about object getattr for a property has 
to execute the underlying code it seems as explained in 
https://stackoverflow.com/a/30143990/2610955 . I don't know if there is a way 
through which an attribute access in case of property can be verified without 
executing it. In case of catching the exception and returning the attributes 
that don't raise exception since it depends on the runtime execution of the 
property where the exception might occur at one point in time and doesn't occur 
in another point of time causing confusion during debugging.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35108>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to