Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-104992: [What's New in 3.11] Document unittest.TestProgram.usageExit's deprecation#104994

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

hugovk
Copy link
Member

@hugovkhugovk commentedMay 26, 2023
edited by github-actionsbot
Loading

Theunittest.TestProgram.usageExit method was deprecated in Python 3.11 and scheduled for removal in 3.13.

The deprecation was documented in thechangelog but not in What's New.

For visibility, let's add it to the "What's New in 3.11" > Deprecations:


📚 Documentation preview 📚:https://cpython-previews--104994.org.readthedocs.build/

@hugovkhugovk added stdlibPython modules in the Lib dir needs backport to 3.11only security fixes needs backport to 3.12only security fixes labelsMay 26, 2023
@bedevere-botbedevere-bot added docsDocumentation in the Doc dir skip news labelsMay 26, 2023
@hugovkhugovk changed the titlegh-104992: Document unittest.TestProgram.usageExit's pending removal in 3.13gh-104992: [What's New in 3.11] Document unittest.TestProgram.usageExit's deprecationMay 26, 2023
@JelleZijlstraJelleZijlstra merged commit7df861c intopython:mainMay 27, 2023
@miss-islington
Copy link
Contributor

Thanks@hugovk for the PR, and@JelleZijlstra for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestMay 27, 2023
…sageExit's deprecation (pythonGH-104994)Document unittest.TestProgram.usageExit's pending removal in 3.13(cherry picked from commit7df861c)Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
@bedevere-bot
Copy link

GH-105009 is a backport of this pull request to the3.12 branch.

@bedevere-botbedevere-bot removed the needs backport to 3.12only security fixes labelMay 27, 2023
@bedevere-bot
Copy link

GH-105010 is a backport of this pull request to the3.11 branch.

@bedevere-botbedevere-bot removed the needs backport to 3.11only security fixes labelMay 27, 2023
miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestMay 27, 2023
…sageExit's deprecation (pythonGH-104994)Document unittest.TestProgram.usageExit's pending removal in 3.13(cherry picked from commit7df861c)Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
JelleZijlstra pushed a commit that referenced this pull requestMay 27, 2023
…usageExit's deprecation (GH-104994) (#105009)gh-104992: [What's New in 3.11] Document unittest.TestProgram.usageExit's deprecation (GH-104994)Document unittest.TestProgram.usageExit's pending removal in 3.13(cherry picked from commit7df861c)Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
JelleZijlstra pushed a commit that referenced this pull requestMay 27, 2023
…usageExit's deprecation (GH-104994) (#105010)gh-104992: [What's New in 3.11] Document unittest.TestProgram.usageExit's deprecation (GH-104994)Document unittest.TestProgram.usageExit's pending removal in 3.13(cherry picked from commit7df861c)Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
@hugovkhugovk deleted the docs-unittest.TestProgram.usageExit-whatsnew311-deprecations branchMay 27, 2023 06:17
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
docsDocumentation in the Doc dirskip newsstdlibPython modules in the Lib dir
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@hugovk@miss-islington@bedevere-bot@JelleZijlstra

[8]ページ先頭

©2009-2025 Movatter.jp