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 — Fix and test `PyABIInfo_VAR` · Issue #142225 · python/cpython

Fix and test PyABIInfo_VAR #142225

New issue
Copy link
New issue
Copy link
Closed
Closed
Fix and test PyABIInfo_VAR#142225
Copy link
Labels
3.15bugs and security fixesbugs and security fixestestsTests in the Lib/test dirTests in the Lib/test dirtopic-C-APItype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@philthompson10
philthompson10
opened on Dec 3, 2025
Issue body actions

Bug report

Bug description:

PyABIInfo_VAR in modsupport.h generates incorrect code because _PyABIInfo_DEFAULT has been defined as a function. The parentheses should be removed.

CPython versions tested on:

3.15

Operating systems tested on:

macOS

Linked PRs

  • gh-142225: Fix PyABIInfo_VAR macro #142230
  • gh-142225: Add PyABIInfo_VAR to to _testcapimodule & _testinternalcapi #142833

Activity

  1. philthompson10
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    on Dec 3, 2025
  2. StanFromIreland
    added
    interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)
    topic-C-API
    on Dec 3, 2025
  3. picnixz
    added
    3.15bugs and security fixesbugs and security fixes
    on Dec 3, 2025
  4. encukou
    added a commit that references this issue on Dec 4, 2025

    gh-142225: Fix `PyABIInfo_VAR` macro (GH-142230)

    fb404ab
  5. encukou commented on Dec 4, 2025

    @encukou
    encukou
    on Dec 4, 2025
    Member
    More actions

    Thanks!
    Keeping the issue open, I'll add tests later.

    Reacted by Stan Ulbrych
  6. StanFromIreland
    added
    testsTests in the Lib/test dirTests in the Lib/test dir
    and removed
    interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)
    on Dec 6, 2025
  7. StanFromIreland
    changed the title [-]PyABIInfo_VAR broken[/-] [+]Test `PyABIInfo_VAR`[/+] on Dec 6, 2025
  8. StanFromIreland
    added a commit that references this issue on Dec 6, 2025

    pythongh-142225: Fix `PyABIInfo_VAR` macro (pythonGH-142230)

    18be0c3
  9. picnixz
    changed the title [-]Test `PyABIInfo_VAR`[/-] [+]Fix and test `PyABIInfo_VAR`[/+] on Dec 7, 2025
  10. encukou
    added a commit that references this issue on Dec 17, 2025

    gh-142225: Add PyABIInfo_VAR to to _testcapimodule & _testinternalcapi (

    7d81eab
  11. encukou commented on Dec 17, 2025

    @encukou
    encukou
    on Dec 17, 2025
    Member
    More actions

    Added. I'm planning more, but let's not keep this open for that.

  12. encukou
    closed this as completedon Dec 17, 2025
  13. encukou commented on Jan 13, 2026

    @encukou
    encukou
    on Jan 13, 2026
    Member
    More actions

    Another use/test is proposed in #142827.

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.15bugs and security fixesbugs and security fixestestsTests in the Lib/test dirTests in the Lib/test dirtopic-C-APItype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

    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.