FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Do not shadow user arguments in generated `__new__` by `@deprecated` by Viicos · Pull Request #581 · python/typing_extensions · GitHub

Repository navigation

Do not shadow user arguments in generated __new__ by @deprecated - #581

Merged
JelleZijlstra merged 3 commits into
python:mainfrom
Viicos:backport-132160
Apr 10, 2025
Merged

JelleZijlstra merged 3 commits into
python:mainfrom
Viicos:backport-132160

Conversation

Viicos commented Apr 8, 2025

Copy link
Copy Markdown
Contributor

Backport of: python/cpython#132160

Copy link
Copy Markdown
Member

The test fails because on versions where warnings.deprecated exists but not your fix, we use the stdlib version. This can be fixed by adjusting the condition for when we use the stdlib version.

Copy link
Copy Markdown
Member

Would you mind adding an entry to CHANGELOG.md? (I'd do it myself but then I'd have to ping somebody else to review.)

JelleZijlstra merged commit 88a0c20 into python:main Apr 10, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

2 participants


Back | FazBrowse Home | New Git URL