8000 gh-130283: update deprecated links and examples in `urllib.request` docs by Mr-Sunglasses · Pull Request #130284 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-130283: update deprecated links and examples in urllib.request docs #130284

8000
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

Merged

Conversation

Mr-Sunglasses
Copy link
Contributor
@Mr-Sunglasses Mr-Sunglasses commented Feb 18, 2025

@Mr-Sunglasses
Copy link
Contributor Author

@sobolevn PTAL

@Mr-Sunglasses
Copy link
Contributor Author

Requesting @sobolevn , @picnixz for review.

@picnixz picnixz self-requested a review February 28, 2025 21:27
Copy link
Member
@picnixz picnixz left a comment

Choose a reason for hiding this comment

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

I can't comment on non-changed lines, but can you also fix the ". ::" sentences and merge them into "::" directly, e.g.:

-This example gets the python.org main page and displays the first 300 bytes of
it. ::
+This example gets the python.org main page and displays the first 300 bytes of
it::

TiA. No need to change the entire file, just change L1216, L1235 and L1245.

Copy link
Contributor Author
@Mr-Sunglasses Mr-Sunglasses left a comment

Choose a reason for hiding this comment

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

8000

@picnixz I've make the requested changes. please review again 😄 .

TiA. 🙏🏻

@Mr-Sunglasses Mr-Sunglasses requested a review from picnixz March 9, 2025 18:20
@picnixz picnixz self-assigned this Mar 12, 2025
@picnixz
Copy link
Member
picnixz commented Mar 12, 2025

I'll review + merge tomorrow probably or on Friday.

The following W3C document, https://www.w3.org/International/O-charset\ , lists
the various ways in which an (X)HTML or an XML document could have specified its
The following HTML spec document, https://html.spec.whatwg.org/#charset\ , lists
the various ways in which an HTML document could have specified its
Copy link
Member

Choose a reason for hiding this comment

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

XML is still covered by the document but they explicitly don't say "XHTML".

@picnixz picnixz added needs backport to 3.12 only security fixes needs backport to 3.13 bugs and security fixes labels Mar 23, 2025
@picnixz picnixz enabled auto-merge (squash) March 23, 2025 13:27
@picnixz picnixz merged commit fd459b1 into python:main Mar 23, 2025
32 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in Docs PRs Mar 23, 2025
@miss-islington-app
Copy link

Thanks @Mr-Sunglasses for the PR, and @picnixz for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 23, 2025
…est` docs (pythonGH-130284)

(cherry picked from commit fd459b1)

Co-authored-by: Kanishk Pachauri <itskanishkp.py@gmail.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
@bedevere-app
Copy link
bedevere-app bot commented Mar 23, 2025

GH-131626 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Mar 23, 2025
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 23, 2025
…est` docs (pythonGH-130284)

(cherry picked from commit fd459b1)

Co-authored-by: Kanishk Pachauri <itskanishkp.py@gmail.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
@bedevere-app
Copy link
bedevere-app < 6D40 span class="Label Label--secondary">bot commented Mar 23, 2025

GH-131627 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.12 only security fixes label Mar 23, 2025
picnixz added a commit that referenced this pull request Mar 23, 2025
…uest` docs (GH-130284) (#131626)

gh-130283: update deprecated links and examples in `urllib.request` docs (GH-130284)
(cherry picked from commit fd459b1)

Co-authored-by: Kanishk Pachauri <itskanishkp.py@gmail.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
picnixz added a commit that referenced this pull request Mar 23, 2025
…uest` docs (GH-130284) (#131627)

gh-130283: update deprecated links and examples in `urllib.request` docs (GH-130284)
(cherry picked from commit fd459b1)

Co-authored-by: Kanishk Pachauri <itskanishkp.py@gmail.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
seehwan pushed a commit to seehwan/cpython that referenced this pull request Apr 16, 2025
…est` docs (python#130284)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
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 skip news
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

docs: fix deprecated or broken examples in urllib.request documentation.
3 participants
0