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 — test_except_star can be simplified with sys.exception() · Issue #102008 · python/cpython

test_except_star can be simplified with sys.exception() #102008

New issue
Copy link
New issue
Copy link
Closed
Closed
test_except_star can be simplified with sys.exception()#102008
Copy link
Labels
testsTests in the Lib/test dirTests in the Lib/test dir

Description

@iritkatriel
iritkatriel
opened on Feb 17, 2023
Issue body actions

migrating test_except_star to use sys.exception() instead of sys.exc_info() can make it a bit simpler. It won't cause any backporting issues because this test was only added in 3.11.

Linked PRs

  • gh-102008: simplify test_except_star by using sys.exception() instead of sys.exc_info() #102009
  • [3.11] gh-102008: simplify test_except_star by using sys.exception() instead of sys.exc_info() (GH-102009) #102116

Activity

  1. iritkatriel
    added
    type-featureA feature request or enhancementA feature request or enhancement
    on Feb 17, 2023
  2. iritkatriel
    added a commit that references this issue on Feb 17, 2023

    pythongh-102008: simplify test_exception_star by using sys.exception(…

    1bae2f9
  3. iritkatriel
    added
    testsTests in the Lib/test dirTests in the Lib/test dir
    and removed
    type-featureA feature request or enhancementA feature request or enhancement
    on Feb 18, 2023
  4. iritkatriel
    added a commit that references this issue on Feb 21, 2023

    gh-102008: simplify test_except_star by using sys.exception() instead…

    c2b85a9
  5. iritkatriel
    closed this as completedon Feb 21, 2023
  6. miss-islington
    added 2 commits that reference this issue on Feb 21, 2023

    pythongh-102008: simplify test_except_star by using sys.exception() i…

    ebe9a40

    gh-102008: simplify test_except_star by using sys.exception() instead…

    3bfa608
  7. carljm
    added a commit that references this issue on Feb 23, 2023

    Merge branch 'main' into lockfreecp

    b257a16
  8. python-sidebar
    added 2 commits that reference this issue on Sep 1, 2024

    pythongh-102008: simplify test_except_star by using sys.exception() i…

    eefd275

    pythongh-102008: simplify test_except_star by using sys.exception() i…

    5ecdace
  9. JelleZijlstra
    added a commit that references this issue on Sep 10, 2024

    pythongh-102008: simplify test_except_star by using sys.exception() i…

    4b997e8
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

    testsTests in the Lib/test dirTests in the Lib/test dir

    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.