Repository navigation
gh-92611: Link to section for PEP 594 modules; mention rm version & alternatives - #92612
Conversation
7614253 to
6893011
Compare
Edit: let's discuss in #92564, see #92564 (comment). |
commented
May 10, 2022
(Already replied to you over there) |
commented
May 12, 2022
|
@brettcannon Per your helpful advice on the Discourse thread, I've added individual deprecation notices to the I can bring the broader issue up with the Docs However, one question remains—should the additional explanations mentioned above and added in c937d01 also be backported (if so, I would modify them to remove the removal version for this PR), or left 3.11+ only as well? Let me know, and I'll either move both commits to another branch for a followup 3.11+ only PR, or just drop/move 76f04e1 and edit c937d01 to not use |
c937d01 to
faf067a
Compare
c99a4b0 to
2342f43
Compare
commented
May 13, 2022
Sorry, but that's a lot of words with nested parentheses and I'm sick, so my brain can't fully process what you're saying. I think you're just saying you yanked the |
commented
May 13, 2022
|
Thanks @CAM-Gerlach for the PR, and @brettcannon for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9, 3.10, 3.11. |
commented
May 13, 2022
|
GH-92785 is a backport of this pull request to the 3.11 branch. |
commented
May 13, 2022
|
GH-92786 is a backport of this pull request to the 3.10 branch. |
commented
May 13, 2022
|
GH-92787 is a backport of this pull request to the 3.9 branch. |
|
Thanks for your help and merging, @brettcannon
Sorry, its my fault—I realized my original explanation was rather dense, buried and overcomplicated so I rewrote it in that comment, but I kept adding to it and it ended up being as complex as the original 😞 Take care of yourself, and I hope you feel better!
Yep, basically, except that I also yanked the per-function I'll make two separate PRs, one with each, and if you'd like the per-function deprecation messages backported, I can drop the |
As discussed in #92611 , currently the experience is pretty subpar for users trying to get even basic information about the deprecations from PEP 594 in the relevant modules' docs. To improve this and increase the visibility of the pending removal, this PR
Uses the properDeferred to a 3.11+ PR for now.deprecated-removedto clearly indicate to users that a removal version is planned and what it is, so they can prepare accordingly or voice any unanticipated impacts (as discussed in Enforce the use ofdeprecated-removedin docs #92564)Add additional replacement information for functions in theDeferred to a 3.11+ PRcgimodule, per requestsAlso, despite having been deprecated for many versions without any mention of imminent removal, the
impmodule is due to be removed in Python 3.12, but no indication of that is given in the documentation, which this also resolves.Fixes #92611