Function
ZODB.serialize.myhasattr

Signature

myhasattr(obj, name, _marker=<object object at 0x403d94b0>)

Documentation String

Make sure we don't mask exceptions like hasattr().

We don't want exceptions other than AttributeError to be masked, since that too often masks other programming errors. Three-argument getattr() doesn't mask those, so we use that to implement our own hasattr() replacement.