upgrade from the implementation of the PEP 454