Redirecting to Python syntax and semantics