On a tip from Dieter, ensure that our hasattr replacement doesn't invoke...
On a tip from Dieter, ensure that our hasattr replacement doesn't invoke __len__ on objects retrieved by getattr due to Python boolean magic! I wish a miserable plague upon boolean magic that calls __len__ and the exception-hiding behavior of hasattr.
Showing
Please register or sign in to comment