Python steering council accepts lazy imports
lwn.net·22h·
Discuss: Hacker News
Flag this post

Barry Warsaw, writing for the Python steering council, has announced that PEP 810 (“Explicit lazy imports”) has been approved, unanimously, by the four who could vote. Since Pablo Galindo Salgado was one of the PEP authors, he did not vote. The PEP provides a way to defer importing modules until the names defined in a module are needed by other parts of the program. We covered the PEP and the discussion around it a few weeks back. The council also had “recommendations about some of the PEP’s details, a few suggestions for filling a couple of small gaps”, including:

Use lazy as the keyword. We debated many of the given alternatives (an…

Similar Posts

Loading similar posts...