PEP370 compatibility