Edit: compat.py