Skip to content

gh-50720: Copy winerror to URLError on Windows - #161047

Open
vasiliyk wants to merge 1 commit into
python:mainfrom
vasiliyk:gh-50720-winerror
Open

vasiliyk wants to merge 1 commit into
python:mainfrom
vasiliyk:gh-50720-winerror

Conversation

@vasiliyk

Copy link
Copy Markdown
Contributor

Follow-up to #160938 addressing @orsenthil's review comment.

On Windows, URLError copies winerror from the wrapped OSError.
Windows-only test

I extended the 3.16 versionchanged note and amended the existing NEWS entry for gh-50720.

@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #35551750 | 📁 Comparing df729b6 against main (e7acd6a)

  🔍 Preview build  

2 files changed
± library/urllib.error.html
± whatsnew/changelog.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant