Conversation
It should link to the docs for this feature in CPython.
Yes, looks like we didn't directly get approval from the SC: #4758 implemented what Pablo asked for in https://discuss.python.org/t/pep-798-unpacking-in-comprehensions/99435/60 but we didn't go back and get explicit approval. @pablogsal (since you're the one who posted the acceptance), do you think this is OK, or should we explicitly ask the SC for approval of the final text? |
Right. My confusion comes from the fact that the docs are somewhat scattered among the library reference; there isn't a single page that is about unpacking in comprehensions, per se (and I'm not sure where such a page would go if it did exist). I suppose we could link to https://docs.python.org/3/reference/expressions.html if we really need a link, but that seems off to me since that isn't really a page about this feature (and since it has less detail than the PEP about the specifics). Looking through some historical PEPs, it seems like not every final PEP has one of these links (e.g., 572). |
PEP 123: Mark as Final)Statuschanged toFinal(andPython-Versionis correct)canonical-docdirective(or
canonical-pypa-specfor packaging PEPs,or
canonical-typing-specfor typing PEPs)@hugovk, I'm leaving a couple of the boxes unchecked for right now, because:
📚 Documentation preview 📚: https://pep-previews--4812.org.readthedocs.build/