move the function out to compat so we don't import _ast_util if _ast isn't present
4 files changed