def _safe_getattr(o):
def getattribute(attr): <EOL><INDENT>if hasattr(o, "<STR_LIT>") and o.__acornext__ is not None:<EOL><INDENT>return o.__acornext__.__getattribute__(attr)<EOL><DEDENT>elif hasattr(o, "<STR_LIT>") and o.__acorn__ is not None:<EOL><INDENT>return o.__acorn__.__getattribute__(attr)<EOL><DEDENT>else:<EOL><INDENT>return getattr(o, attr)<EOL><DEDENT><DEDENT>return getattribute<EOL>
Gets the attribute from the specified object, taking the acorn decoration
    into account.