PEP 690: Lazy Imports Again

The PEP does propose a with eager_imports(): context manager. (Which is always a no-op since with itself makes imports eager.)

But I don’t quite see how it would reduce the pressure. Lazy imports need to be tested, and to be generally useful (outside big apps with rigid dependency chains), they should be tested in individual library test suites. There’ll be demand for testing, maintenance, mental overhead around the fact that your library can be imported in two different ways.