PEP 810: Explicit lazy imports

From the PEP 810 team:

Thank you all so much for the incredibly thoughtful engagement with PEP 810 :heart: We’re truly humbled by the positive reception and the quality of feedback we’ve received. We are all super excited as you are and we look forward to have the best PEP possible.

We want you to know that we’re working hard to review every comment and consideration raised in this discussion. Please understand that we may not be able to respond directly to every comment, but we promise we are reading and considering all feedback carefully. While many of you feel strongly about specific aspects (and rightfully so!), we’re in the challenging position of balancing the entire feature set, CPython’s long-term maintainability, implementation constraints, and the need to build safely and incrementally. This is a very complicated and delicate task.

This is an exciting feature, but we’re committed to getting it right. Our strategy is to target the smallest stable core that we can confidently ship and build upon in future releases. This means some potentially interesting suggestions will need to wait for subsequent enhancements. Not because they lack merit, but because we need to establish a solid foundation first.

We appreciate your understanding when our responses seem firm on certain design choices. There are seven authors on this PEP, each bringing different deep technical expertise and years of experience with Python internals, large-scale deployments, and language design. We’ve been working incredibly hard together to explore every angle of this feature. If we hold a position strongly, it’s because we’ve collectively explored the alternatives extensively and reached a considered conclusion. We’re making difficult trade-offs based on deep investigation of the design space.

Please read through the existing comments and our responses before posting. We’ve already addressed several topics in detail (keyword placement, circular imports, the disable flag, etc.). The more comments we receive covering the same ground, the harder it becomes for our team to identify and respond to genuinely new perspectives. The volume can quickly become overwhelming, making it difficult to give proper attention to new concerns. If you have a new angle on a previously discussed topic, please reference the earlier discussion and explain what’s different about your perspective. Please also respect when we’ve indicated that we’ve decided to close a particular avenue of discussion after thorough consideration.

Thank you for helping us shape this feature. Your input is invaluable, and we’re grateful for this collaborative process.


The PEP 810 team

21 Likes