'Return a Python3 ast Node compiled from a string.'

def astnode(self, s):

    try:
        import ast
    except ImportError:
        return eval(s)
    p = ast.parse(('__tempvalue__    =    ' + s))
    return p.body[0].value
