python3 future proofing