FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

add CI builds for free-threaded Python versions by ngoldbaum · Pull Request #150 · python/pythoncapi-compat · GitHub

add CI builds for free-threaded Python versions - #150

Merged
vstinner merged 2 commits into
python:mainfrom
ngoldbaum:free-threaded-ci
Sep 1, 2025
Merged

add CI builds for free-threaded Python versions#150
vstinner merged 2 commits into
python:mainfrom
ngoldbaum:free-threaded-ci

Conversation

Copy link
Copy Markdown
Contributor

I noticed there weren't any free-threaded builds for #149.

ngoldbaum force-pushed the free-threaded-ci branch 2 times, most recently from 33516bd to 13f1410 Compare August 26, 2025 20:03

Copy link
Copy Markdown
Contributor Author

I'm confused why there's a complaint about an uninitialized variable, but only on 3.13t under GCC apparently:

test_pythoncapi_compat_cext.c: In function ‘test_long_api’:
test_pythoncapi_compat_cext.c:1439:26: error: ‘digits’ may be used uninitialized [-Werror=maybe-uninitialized]
 1439 |     ((digit *)digits)[0] = 123;
      |     ~~~~~~~~~~~~~~~~~~~~~^~~~~
test_pythoncapi_compat_cext.c:1431:11: note: ‘digits’ was declared here
 1431 |     void *digits;
      |           ^~~~~~

@vstinner do you have any idea what's going wrong?

Copy link
Copy Markdown
Contributor Author

It looks like the missing error checking was tripping up the compiler, but only on 3.13t. Not sure why, but adding error checking fixes it. This is ready now, I think.

vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM

vstinner merged commit 718e12e into python:main Sep 1, 2025
36 checks passed

vstinner commented Sep 1, 2025

Copy link
Copy Markdown
Member

Merged, thanks @ngoldbaum!

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL