-
-
Notifications
You must be signed in to change notification settings - Fork 30.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gh-101865: Docs: Keep co_lnotab deprecation for at least 3.14 #126392
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's unlikely this will be removed while it's still in use by pytorch
, huggingface
, and many others. So I'd also be okay with changing the deprecation notice to an undefined removal date for now. But at the same time, it's less likely that they'll ever remove their uses of co_lnotab
unless there is a removal date, so this is also fine!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
Why not “maybe someday” rather than 3.15? To me it seems that not breaking things would save effort on both sides. |
While we could delay this indefinitely, we should encourage users to move as sooner rather than later. Using |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good @hugovk. Thanks.
And I the wording is now all "May be removed in ..." instead of 2x that and 1x "therefore it will be removed in ..." |
Thanks @hugovk for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13. |
Sorry, @hugovk, I could not cleanly backport this to
|
Sorry, @hugovk, I could not cleanly backport this to
|
… 3.14 (pythonGH-126392) (cherry picked from commit eac41c5) Co-authored-by: Hugo van Kemenade <[email protected]>
GH-126403 is a backport of this pull request to the 3.13 branch. |
… 3.14 (pythonGH-126392) (cherry picked from commit eac41c5) Co-authored-by: Hugo van Kemenade <[email protected]>
GH-126404 is a backport of this pull request to the 3.12 branch. |
There's still quite a bit of use in the wild and we're in no rush to remove this in Python 3.14.
Let's bump to 3.15 and reassess during the next cycle.
📚 Documentation preview 📚: https://cpython-previews--126392.org.readthedocs.build/
co_lnotab
must be removed in 3.12 according to PEP 626 #101865