Visitar URL original
Fix and test `PyABIInfo_VAR` · Issue #142225 · python/cpython · GitHub
Skip to content

Fix and test PyABIInfo_VAR #142225

Description

@philthompson10

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

Activity

  1. added a commit that references this issue on Dec 4, 2025
  2. encukou commented on Dec 4, 2025

    @encukou
    Member

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

  3. added
    testsTests in the Lib/test dir
    and removed
    interpreter-core(Objects, Python, Grammar, and Parser dirs)
    on Dec 6, 2025
  4. changed the title [-]PyABIInfo_VAR broken[/-] [+]Test `PyABIInfo_VAR`[/+] on Dec 6, 2025
  5. added a commit that references this issue on Dec 6, 2025
  6. changed the title [-]Test `PyABIInfo_VAR`[/-] [+]Fix and test `PyABIInfo_VAR`[/+] on Dec 7, 2025
  7. added a commit that references this issue on Dec 17, 2025
  8. encukou commented on Dec 17, 2025

    @encukou
    Member

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

  9. encukou commented on Jan 13, 2026

    @encukou
    Member

    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 fixestestsTests in the Lib/test dirtopic-C-APItype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions