I am not sure I agree with you. You do need compile time type to generate efficient hardware accelerated code.
Python has strong type, but that is only available at run time, which is not useful to generate code.
But now python also have optional type. this might be utilized in generating more efficient code though