-
-
Notifications
You must be signed in to change notification settings - Fork 33k
Closed
Labels
3.15new features, bugs and security fixesnew features, bugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)testsTests in the Lib/test dirTests in the Lib/test dirtopic-C-APItopic-JITtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Bug description:
Bug Description
The test_capi
test suite fails when CPython is built from the main branch with debug, optimizations (PGO), LTO, and the experimental JIT enabled.
Steps to Reproduce
- Clone the cpython repository.
- Configure the build with the following flags:
./configure --with-pydebug --enable-optimizations --with-lto --enable-experimental-jit
- Build and run tests:
sudo make -j"$(nproc)" test
Expected Behavior
All tests should pass.
Actual Behavior
The test run fails with one failed test: test_capi
.
The specific failing test is test_call_len_known_length
within test.test_capi.test_opt.TestUopsOptimization
.
Test Output
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
Linked PRs
Metadata
Metadata
Assignees
Labels
3.15new features, bugs and security fixesnew features, bugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)testsTests in the Lib/test dirTests in the Lib/test dirtopic-C-APItopic-JITtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error