Skip to content

Many references to unsupported Python versions in the stdlib docs #92417

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

Closed
AlexWaygood opened this issue May 7, 2022 · 5 comments
Closed

Many references to unsupported Python versions in the stdlib docs #92417

AlexWaygood opened this issue May 7, 2022 · 5 comments
Assignees
Labels
docs Documentation in the Doc dir

Comments

@AlexWaygood
Copy link
Member

AlexWaygood commented May 7, 2022

Documentation

There are currently many places in the stdlib docs where there are needless comments about how to maintain compatibility with Python versions that are now end-of-life. Many of these can now be removed, to improve brevity and clarity in the documentation.

I plan to submit a number of PRs to fix these.

PRs:

Backports:

@AlexWaygood AlexWaygood added the docs Documentation in the Doc dir label May 7, 2022
AlexWaygood added a commit to AlexWaygood/cpython that referenced this issue May 7, 2022
…an be used in all supported Python versions
AlexWaygood added a commit to AlexWaygood/cpython that referenced this issue May 7, 2022
AlexWaygood added a commit to AlexWaygood/cpython that referenced this issue May 7, 2022
AlexWaygood added a commit to AlexWaygood/cpython that referenced this issue May 7, 2022
AlexWaygood added a commit to AlexWaygood/cpython that referenced this issue May 7, 2022
AlexWaygood added a commit to AlexWaygood/cpython that referenced this issue May 7, 2022
…rences

Given that 2.7 has now been end-of-life for two and a half years, I don't think we need such a detailed explanation here anymore of the differences between Python 2 and Python 3.

python#92417
AlexWaygood added a commit to AlexWaygood/cpython that referenced this issue May 7, 2022
AlexWaygood added a commit to AlexWaygood/cpython that referenced this issue May 7, 2022
@rhettinger rhettinger assigned rhettinger and unassigned rhettinger May 8, 2022
serhiy-storchaka pushed a commit that referenced this issue May 8, 2022
…used in all supported Python versions (GH-92418)
miss-islington pushed a commit to miss-islington/cpython that referenced this issue May 8, 2022
…an be used in all supported Python versions (pythonGH-92418)

(cherry picked from commit e5b4bd4)

Co-authored-by: Alex Waygood <[email protected]>
serhiy-storchaka pushed a commit that referenced this issue May 8, 2022
miss-islington pushed a commit to miss-islington/cpython that referenced this issue May 8, 2022
…upported Python versions (pythonGH-92419)

(cherry picked from commit f4e317b)

Co-authored-by: Alex Waygood <[email protected]>
miss-islington pushed a commit to miss-islington/cpython that referenced this issue May 8, 2022
…upported Python versions (pythonGH-92419)

(cherry picked from commit f4e317b)

Co-authored-by: Alex Waygood <[email protected]>
miss-islington pushed a commit to miss-islington/cpython that referenced this issue May 8, 2022
…n versions (pythonGH-92422)

(cherry picked from commit bc098cf)

Co-authored-by: Alex Waygood <[email protected]>
miss-islington pushed a commit to miss-islington/cpython that referenced this issue May 8, 2022
…n versions (pythonGH-92422)

(cherry picked from commit bc098cf)

Co-authored-by: Alex Waygood <[email protected]>
miss-islington pushed a commit to miss-islington/cpython that referenced this issue May 8, 2022
…n versions (pythonGH-92422)

(cherry picked from commit bc098cf)

Co-authored-by: Alex Waygood <[email protected]>
ambv pushed a commit that referenced this issue May 19, 2022
ambv pushed a commit that referenced this issue May 19, 2022
miss-islington pushed a commit to miss-islington/cpython that referenced this issue May 19, 2022
miss-islington pushed a commit to miss-islington/cpython that referenced this issue May 19, 2022
ambv pushed a commit that referenced this issue May 19, 2022
miss-islington pushed a commit to miss-islington/cpython that referenced this issue May 19, 2022
…constructor methods (pythonGH-92421)

Co-authored-by: Ezio Melotti <[email protected]>
(cherry picked from commit 090df84)

Co-authored-by: Alex Waygood <[email protected]>
miss-islington pushed a commit to miss-islington/cpython that referenced this issue May 19, 2022
…constructor methods (pythonGH-92421)

Co-authored-by: Ezio Melotti <[email protected]>
(cherry picked from commit 090df84)

Co-authored-by: Alex Waygood <[email protected]>
miss-islington pushed a commit to miss-islington/cpython that referenced this issue May 19, 2022
…Python <3.5 (pythonGH-92538)

(cherry picked from commit 84b8600)

Co-authored-by: Alex Waygood <[email protected]>
miss-islington pushed a commit to miss-islington/cpython that referenced this issue May 19, 2022
…Python <3.5 (pythonGH-92538)

(cherry picked from commit 84b8600)

Co-authored-by: Alex Waygood <[email protected]>
ambv pushed a commit that referenced this issue May 19, 2022
ambv pushed a commit that referenced this issue May 19, 2022
ambv pushed a commit that referenced this issue May 19, 2022
…uctor methods (GH-92421) (GH-92970)

Co-authored-by: Ezio Melotti <[email protected]>
(cherry picked from commit 090df84)

Co-authored-by: Alex Waygood <[email protected]>
ambv pushed a commit that referenced this issue May 19, 2022
…uctor methods (GH-92421) (GH-92971)

Co-authored-by: Ezio Melotti <[email protected]>
(cherry picked from commit 090df84)

Co-authored-by: Alex Waygood <[email protected]>
miss-islington pushed a commit to miss-islington/cpython that referenced this issue May 19, 2022
…thon versions (pythonGH-92424)

Co-authored-by: CAM Gerlach <[email protected]>
(cherry picked from commit 70aa1b9)

Co-authored-by: Alex Waygood <[email protected]>
ambv pushed a commit that referenced this issue May 19, 2022
ambv pushed a commit that referenced this issue May 19, 2022
… <3.5 (GH-92538) (GH-92973)

(cherry picked from commit 84b8600)

Co-authored-by: Alex Waygood <[email protected]>
@ambv
Copy link
Contributor

ambv commented May 19, 2022

I merged everything that was linked here. If all's done, this can be closed.

@AlexWaygood
Copy link
Member Author

I merged everything that was linked here. If all's done, this can be closed.

Thank you for the reviews! This is now mostly done, but I think there's a few others left to do, so I'd rather keep it open for now. (I've been busy with other stuff lately.)

ambv pushed a commit that referenced this issue May 19, 2022
… <3.5 (GH-92538) (GH-92972)

(cherry picked from commit 84b8600)

Co-authored-by: Alex Waygood <[email protected]>
ambv pushed a commit that referenced this issue May 19, 2022
…ersions (GH-92424) (GH-92979)

Co-authored-by: CAM Gerlach <[email protected]>
(cherry picked from commit 70aa1b9)

Co-authored-by: Alex Waygood <[email protected]>
@AlexWaygood AlexWaygood self-assigned this May 20, 2022
hello-adam pushed a commit to hello-adam/cpython that referenced this issue Jun 2, 2022
…an be used in all supported Python versions (pythonGH-92418)

(cherry picked from commit e5b4bd4)

Co-authored-by: Alex Waygood <[email protected]>
hello-adam pushed a commit to hello-adam/cpython that referenced this issue Jun 2, 2022
…differences (pythonGH-92423) (pythonGH-92474)

Given that 2.7 has now been end-of-life for two and a half years,
I don't think we need such a detailed explanation here anymore of
the differences between Python 2 and Python 3.
(cherry picked from commit 8efda1e)


Co-authored-by: Alex Waygood <[email protected]>

Automerge-Triggered-By: GH:serhiy-storchaka
hello-adam pushed a commit to hello-adam/cpython that referenced this issue Jun 2, 2022
… Python versions (pythonGH-92422) (pythonGH-92466)

(cherry picked from commit bc098cf)


Co-authored-by: Alex Waygood <[email protected]>

Automerge-Triggered-By: GH:serhiy-storchaka
hello-adam pushed a commit to hello-adam/cpython that referenced this issue Jun 2, 2022
…ython <3.2 (pythonGH-92425)

(cherry picked from commit 318c4e9)

Co-authored-by: Alex Waygood <[email protected]>
hello-adam pushed a commit to hello-adam/cpython that referenced this issue Jun 2, 2022
…upported Python versions (pythonGH-92419)

(cherry picked from commit f4e317b)

Co-authored-by: Alex Waygood <[email protected]>
@AlexWaygood
Copy link
Member Author

This is basically done at this point, and I ran out of energy to finish the remaining bits that are left to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir
Projects
None yet
Development

No branches or pull requests

4 participants