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 syntax warnings emitted in a `finally` block · Issue #132435 · python/cpython

Test syntax warnings emitted in a finally block #132435

New issue
Copy link
New issue
Copy link
Closed
Closed
Test syntax warnings emitted in a finally block#132435
Copy link
Assignees
tomasr8
Labels
interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)testsTests in the Lib/test dirTests in the Lib/test dir

Description

@tomasr8
tomasr8
opened on Apr 12, 2025
Issue body actions

This is a followup to #131993

For context: #131993 (comment)

Please add also a compile() test for a warning emitted in the finally block. Currently it is emitted twice because the code in the finally block is complied twice (for normal execution and for exception handling).

Linked PRs

  • gh-132435: Test syntax warnings in a finally block #132436
  • [3.13] gh-132435: Test syntax warnings in a finally block (GH-132436) #132503

Activity

  1. tomasr8
    added
    interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)
    testsTests in the Lib/test dirTests in the Lib/test dir
    on Apr 12, 2025
  2. tomasr8
    self-assigned this
    on Apr 12, 2025
  3. serhiy-storchaka
    added 2 commits that reference this issue on Apr 13, 2025

    gh-132435: Test syntax warnings in a finally block (GH-132436)

    887eabc

    [3.13] gh-132435: Test syntax warnings in a finally block (GH-132436) (…

    5f1eaff
  4. serhiy-storchaka
    closed this as completedon Apr 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @tomasr8
    tomasr8

Labels

interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)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.