-
Notifications
You must be signed in to change notification settings - Fork 57
Add support for the free-threaded build #178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ngoldbaum
wants to merge
65
commits into
python-cffi:main
Choose a base branch
from
ngoldbaum:upstream-pr
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+960
−271
Open
Changes from all commits
Commits
Show all changes
65 commits
Select commit
Hold shift + click to select a range
c06e9e1
Initial support for free threaded Python (#1)
colesbury b996eab
fix various errors and warnings seen on clang and gcc
ngoldbaum 0a6b216
use manylinux 2_28 on x86_64 (this will be the default in manylinux 3)
ngoldbaum 1101273
Merge pull request #4 from ngoldbaum/fix-warnings
ngoldbaum 92a4fff
split CT_LAZY_FIELD_LIST into a new listing of ct_flags_mut flags
ngoldbaum f4baa7a
Add CT_UNDER_CONSTRUCTION to indicate that a type is being mutated
ngoldbaum 7153808
adjust assert
ngoldbaum 1d70aa7
only set CT_UNDER_CONSTRUCTION during lazy init
ngoldbaum b26c421
Merge pull request #5 from ngoldbaum/mutable-constructed-flag
ngoldbaum a33cf8e
Move CT_CUSTOM_FIELD_POS and CT_WITH_PACKED_CHANGE to ct_flags_mut
ngoldbaum e33ecc5
rearrange and add asserts in do_realize_lazy_struct
ngoldbaum bc7f192
remove unhelpful comment
ngoldbaum 2344819
replace ct_is_hidden with asserts
ngoldbaum 90fd95f
Merge pull request #6 from ngoldbaum/mutable-flags
ngoldbaum a93b351
clarify comment
ngoldbaum 3ad732d
Merge pull request #7 from ngoldbaum/rm-is-hidden
ngoldbaum 62625c1
fix thread safety of _realize_c_struct_or_union
kumaraditya303 c8a478a
fix missing unlock
kumaraditya303 c66f5af
mark tests as thread unsafe
kumaraditya303 35bea7e
mark TestZIntegration as thread unsafe
kumaraditya303 95d9835
Merge pull request #11 from kumaraditya303/up
ngoldbaum 53507aa
fix headers to avoid duplicated definitions
kumaraditya303 bda2a3e
Merge pull request #12 from kumaraditya303/headers
ngoldbaum 19dd4c6
fix thread safety of enum (#10)
kumaraditya303 be992cb
Merge pull request #9 from kumaraditya303/realize-threadsafe
ngoldbaum c053f17
fix thread safety of cffi (#13)
kumaraditya303 bb65e0b
add trove classifier
ngoldbaum afd03eb
add missing CI jobs
ngoldbaum 03bbac3
back out unnecessary CI config changes
ngoldbaum 631fecd
pin cibuildwheel<3 in CI config
ngoldbaum 451361a
Merge branch 'real-main' into upstream-pr
ngoldbaum 3fc8ca6
reduce the number of pytest-run-parallel jobs
ngoldbaum 3da4197
remove unnecessary thread_unsafe markers, add reasons for all others
ngoldbaum 5ef99ee
expand whatsnew
ngoldbaum ff64827
add 3.13t pytest-run-parallel jobs
ngoldbaum 26834f1
revert more unnecessary changes
ngoldbaum 967af67
disable gil in extension produced by verify tests
ngoldbaum da61313
fail the tests if the GIL is enabled at tests completion
ngoldbaum ac9205f
force realizing lazy structs in ffi_sizeof
ngoldbaum 5c9e5e4
remove out-of-date FIXME
ngoldbaum 29989d9
tweak error
ngoldbaum 0e5d59e
revert unnecessary change
ngoldbaum c02343c
Unconditionally clear weak refs in ctypdescr_dealloc to avoid race in…
ngoldbaum 6c9b781
mark tests as thread-unsafe that might concurrently call dlclose on t…
ngoldbaum 31e57b9
apply fix from c02343ce in a few more spots
ngoldbaum 785a8b4
check for lazy_field_list in force_lazy_struct
ngoldbaum 1bfc1da
use atomic loads for opcodes in realize_c_type_or_func_now
ngoldbaum a46b69f
address code review
kumaraditya303 d864931
remove skips
kumaraditya303 f7882f8
add thread safety note for realize_c_type_or_func
ngoldbaum ce04bb9
use atomics for ct_stuff
kumaraditya303 99a9b4f
Merge pull request #1 from kumaraditya303/up
ngoldbaum a50b121
Simplify ct_stuff handling
colesbury bef087c
use _CFFI_LOAD_OP
kumaraditya303 d9fe944
Merge pull request #2 from colesbury/ct_stuff
ngoldbaum 0579981
Merge pull request #3 from kumaraditya303/less-atomics
ngoldbaum 601196f
use one global cffi lock for thread safety
kumaraditya303 fc77a94
do not export dummy
kumaraditya303 bd1f381
skip
kumaraditya303 2738472
unconditionally heap-allocate _ffi_type output
ngoldbaum 0cb7fd5
move mutable flags to bitflags for ct_flags_mut field
ngoldbaum 9b44ef3
fix refleak
kumaraditya303 c8cbfe1
Apply suggestions from code review
ngoldbaum 12d32b1
apply matti's review comments
ngoldbaum 401336d
update version numbers
ngoldbaum File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.