best effort ast parsing in aliases.py