On Fri, Mar 14, 2014 at 3:01 PM, Chris Withers wrote:
> On 03/12/2014 04:49 PM, Chris Angelico wrote:
>>
>>> You can use hasattr() in place of AttributeError
>>>
>>
> Is that true now? It used to be that hasattr swallowed all exceptions
> rather than just AttributeError making is a very dangerous
On 03/12/2014 04:49 PM, Chris Angelico wrote:
You can use hasattr() in place of AttributeError
Is that true now? It used to be that hasattr swallowed all exceptions
rather than just AttributeError making is a very dangerous weapon for
anything (such as an orm or odb) that might do something i