Skip to content

[tests] Backport test_cext and test_cppext (C API tests) from main to the 3.12 branch #127906

Activity

  1. vstinner commented on Dec 13, 2024

    @vstinner
    MemberAuthor

    On the 3.12 branch, test_cext currently fails with these warnings:

      C:\victor\python\3.12\include\cpython/unicodeobject.h(205): error C2220: the following warning is treated as an error
      C:\victor\python\3.12\include\cpython/unicodeobject.h(205): warning C4100: '_unused_op': unreferenced formal parameter
      C:\victor\python\3.12\include\cpython/unicodeobject.h(395): warning C4100: '_unused_op': unreferenced formal parameter
      C:\victor\python\3.12\include\cpython/pytime.h(192): warning C4115: 'timeval': named type definition in parentheses
      extension.c(22): warning C4100: '_unused_module': unreferenced formal parameter
      extension.c(44): warning C4100: '_unused_module': unreferenced formal parameter
    

    I backported MSVC support in Py_UNUSED() to 3.12 to fix unicodeobject.h: PR gh-127907.

  2. vstinner commented on Dec 13, 2024

    @vstinner
    MemberAuthor

    C:\victor\python\3.12\include\cpython/pytime.h(192): warning C4115: 'timeval': named type definition in parentheses

    I wrote #127908 to fix this pytime.h warning.

  3. added 11 commits that reference this issue on Dec 13, 2024
  4. 26 remaining items

  5. added a commit that references this issue on Apr 25, 2025
  6. added a commit that references this issue on May 5, 2025
  7. added 2 commits that reference this issue on May 12, 2025
  8. added a commit that references this issue on Jun 3, 2025
  9. added a commit that references this issue on Jun 4, 2025
  10. added a commit that references this issue on Jun 12, 2025
  11. added a commit that references this issue on Jun 12, 2025
  12. added a commit that references this issue on Oct 10, 2025
  13. added a commit that references this issue on Mar 3, 2026
  14. added a commit that references this issue on Mar 26, 2026
  15. added a commit that references this issue on Aug 18, 2026
  16. added a commit that references this issue on Oct 1, 2026
  17. added 2 commits that reference this issue on Oct 1, 2026
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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions