PEP 810: Explicit lazy imports

Can we really not break backwards compatibility here?

Placing the lazy Keyword in the Middle of From Imports

While we found from foo lazy import bar to be a really intuitive placement for the new explicit syntax, we quickly learned that placing the lazy keyword here is already syntactically allowed in Python. This is because from . lazy import bar is legal syntax (because whitespace does not matter.)

I only found 1 result on GitHub: Code search results · GitHub

8 Likes