GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Remove deprecated unittest.TestProgram.usageExit · Issue #104992 · python/cpython

Remove deprecated unittest.TestProgram.usageExit #104992

New issue
Copy link
New issue
Copy link
Closed
Closed
Remove deprecated unittest.TestProgram.usageExit#104992
Copy link
Labels
3.13only security fixesonly security fixesstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancementA feature request or enhancement

Description

@hugovk
hugovk
opened on May 26, 2023
Issue body actions

Feature or enhancement

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

The method wasn't documented. The deprecation was documented in the changelog but not in What's New.

In addition to removal in 3.13, I suggest adding it to the "What's New in 3.11" > Deprecations:

  • https://docs.python.org/3.13/whatsnew/3.11.html#deprecated

And to "What's New in 3.12" > "Pending Removal in Python 3.13":

  • https://docs.python.org/3.13/whatsnew/3.12.html#pending-removal-in-python-3-13

Previous discussion

  • unittest.TestProgram.usageExit no longer invoked #67048

Linked PRs

  • gh-104992: Remove deprecated unittest.TestProgram.usageExit #104993
  • gh-104992: [What's New in 3.11] Document unittest.TestProgram.usageExit's deprecation #104994
  • gh-104992: [What's New in 3.12] Document unittest.TestProgram.usageExit's deprecation #104995
  • [3.12] gh-104992: [What's New in 3.11] Document unittest.TestProgram.usageExit's deprecation (GH-104994) #105009
  • [3.11] gh-104992: [What's New in 3.11] Document unittest.TestProgram.usageExit's deprecation (GH-104994) #105010
  • [3.12] gh-104992: [What's New in 3.12] Document unittest.TestProgram.usageExit's deprecation (GH-104995) #105036

Activity

  1. hugovk
    added
    type-featureA feature request or enhancementA feature request or enhancement
    stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directory
    3.13only security fixesonly security fixes
    on May 26, 2023
  2. JelleZijlstra
    added a commit that references this issue on May 27, 2023

    gh-104992: [What's New in 3.11] Document unittest.TestProgram.usageEx…

    7df861c
  3. miss-islington
    added 2 commits that reference this issue on May 27, 2023

    pythongh-104992: [What's New in 3.11] Document unittest.TestProgram.u…

    2671390

    pythongh-104992: [What's New in 3.11] Document unittest.TestProgram.u…

    cbd898d
  4. JelleZijlstra
    added 2 commits that reference this issue on May 27, 2023

    [3.12] gh-104992: [What's New in 3.11] Document unittest.TestProgram.…

    368d177

    [3.11] gh-104992: [What's New in 3.11] Document unittest.TestProgram.…

    b9e2d80
  5. hugovk
    added 2 commits that reference this issue on May 27, 2023

    gh-104992: Remove deprecated unittest.TestProgram.usageExit (#104993)

    b225c08

    gh-104992: [What's New in 3.12] Document unittest.TestProgram.usageEx…

    3821b92
  6. miss-islington
    added a commit that references this issue on May 28, 2023

    pythongh-104992: [What's New in 3.12] Document unittest.TestProgram.u…

    84eac19
  7. hugovk
    added a commit that references this issue on May 28, 2023

    [3.12] gh-104992: [What's New in 3.12] Document unittest.TestProgram.…

    36a4227
  8. hugovk
    closed this as completedon May 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.13only security fixesonly security fixesstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancementA feature request or enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.