-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Use PyWeakref_GetRef and critical section in BlockValuesRefs #60540
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
Changes from 8 commits
e21c3c9
4417f0f
e16ea10
232f97a
defbcc0
59a5ceb
142c168
49125a6
6c9de62
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Autogenerated file containing Cython compile-time defines | ||
|
||
DEF CYTHON_COMPATIBLE_WITH_FREE_THREADING = @freethreading_compatible@ |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,6 +50,19 @@ _khash_primitive_helper_dep = declare_dependency( | |
sources: _khash_primitive_helper, | ||
) | ||
|
||
cdata = configuration_data() | ||
if cy.version().version_compare('>=3.1.0') | ||
cdata.set('freethreading_compatible', '1') | ||
else | ||
cdata.set('freethreading_compatible', '0') | ||
endif | ||
_free_threading_config = configure_file( | ||
input: 'free_threading_config.pxi.in', | ||
output: 'free_threading_config.pxi', | ||
configuration: cdata, | ||
install: false, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Shouldn't we be installing the header? Doesn't that put it in the wheel? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. My understanding is that this is not needed since this is only required at Cython compilation time, and the wheel only includes compiled extensions. |
||
) | ||
|
||
subdir('tslibs') | ||
|
||
libs_sources = { | ||
|
Uh oh!
There was an error while loading. Please reload this page.