Remove get_lazy_modules from docs#40
Conversation
|
We should document sys.lazy_modules while we're at it, except I'm not sure of the exact semantics... @DinoV what is going on here? PEP 810 suggests |
@johnslavik Would you like to do this as part of #41? |
Will do, thanks for the heads up! |
Yep, we need to update the PEP. I had discussed this with Pablo offline and he suggested we make sure to collect all of the changes and do one final update as we'll need to get SC approval. We already have a set which we use to track the lazy_modules internally as we need to publish imported lazy submodules on the parent module when they are imported. So we could basically maintain a secondary dict and update that as the PEP describes or we can expose what we're actually using for the source of truth for decisions and the latter seems more valuable. So Here's my initial attempt to update the PEP DinoV/peps@7a78bf2 (it also fixes one other issue I caught while reviewing it). |
Re: python#142351 (comment)
Code was removed in python@4fd8fe8, also remove from the docs.