Only available in Python 3.9, and for now at least Odoo remains committed to supporting Python 3.8. And it's not actually necessary: `literal_eval` supports ast node input, because internally it just `ast.parse`s the input then evaluates it, giving it an AST node just skips the parse step. closes odoo/odoo#135302 Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>