Skip to content
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-92308: Add a future pending removal #31

Conversation

hugovk
Copy link

@hugovk hugovk commented May 6, 2022

Add the first deprecation from https://docs.python.org/3.10/whatsnew/3.10.html#deprecated as a pending removal for https://docs.python.org/3.11/whatsnew/3.11.html#deprecated, and edit a bit.

This one can't be boiled down to a single function/method/constant name, so the original description is kept, with a bit of light editing.

No version has been set for this deprecation, so it goes in a "future" section.

==================================

The following APIs were deprecated in earlier Python versions and will be removed,
although there is currently no date scheduled for their removal.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure that it's a good idea of repeating this in each What's New in Python 3.x document. What if it's kept as "pending deprecated" for 10 versions? Should we copy/paste this text in 10 documents?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, the idea is to increase visibility of things to be removed.

We still want users to change their code for this, even if it's going to be around for a while.

A problem with deprecations is users don't know about them until removal, and sometimes long deprecation periods are to give folk more time to update. All the more reason to list them.

When we have a dedicated deprecations page, we could skip listing things here and instead link to the dedicated page. There's quite a few open-ended deprecations around, so it would also be useful for maintainers to review if they can be removed yet.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When we have a dedicated deprecations page, we could skip listing things here and instead link to the dedicated page.

If we want to automate the creation of the list/table, a dedicated page would be easier to handle, and won't have to necessarily conform to the structure of the whatsnew.

There's quite a few open-ended deprecations around

See python#92564

@erlend-aasland
Copy link
Owner

Can I close this? :)

@hugovk
Copy link
Author

hugovk commented May 9, 2022

Yes, let's continue in python#92562!

@hugovk hugovk closed this May 9, 2022
@hugovk hugovk deleted the erlend-aasland-pending-removal2 branch May 9, 2022 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants