Skip to content

test_xxlimited is skipped on Windows in debug mode #161724

Closed

Description

@vstinner

Example on a recent GitHub Action job: https://github.com/python/cpython/actions/runs/42723050421

  • Windows / Build and test (x64, switch-case): 3 tests skipped: test_curses test_xxlimited test_xxtestfuzz with == Python build: debug -- test_xxlimited is skipped
  • Windows / Build and test (x64, tail-call): 2 tests skipped: test_curses test_xxtestfuzz with == Python build: release

xxlimited extensions are only built in Release mode by PCbuild/pcbuild.proj:

    <TestModules Include="xxlimited" Condition="'$(Configuration)' == 'Release'" />
    <TestModules Include="xxlimited_35" Condition="'$(Configuration)' == 'Release'" />
    <TestModules Include="xxlimited_3_13" Condition="'$(Configuration)' == 'Release'" />

I propose to build the xxlimited extensions in Debug mode as well.

Linked PRs

Activity

  1. zooba commented on Nov 10, 2026

    @zooba
    Member

    Presumably there was a reason for this? Any indication (either in the code or in the commit history) why it was done this way?

  2. vstinner commented on Nov 10, 2026

    @vstinner
    MemberAuthor

    It's uneasy to remind the status of the limited C API and the stable ABI ... 12 years ago! (65e4cb1) Let's say that it's now better supported on all platforms and I see no reason to only skip test_xxlimited on Windows built in debug mode :-)

  3. zooba commented on Nov 10, 2026

    @zooba
    Member

    It looks like that commit also added the Debug configuration to python3dll, so probably the condition to exclude it was carried over from the earlier build system that didn't include a Debug build at all.

  4. added a commit that references this issue on Nov 10, 2026
  5. added 2 commits that reference this issue on Nov 10, 2026
  6. added a commit that references this issue on Nov 12, 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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions