We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efaefaa commit 1cfeab1Copy full SHA for 1cfeab1
mesonpy/__init__.py
@@ -838,8 +838,8 @@ def __init__(
838
if self._limited_api:
839
# check whether limited API is disabled for the Meson project
840
options = self._info('intro-buildoptions')
841
- value = next((option['value'] for option in options if option['name'] == 'python.allow_limited_api'), None)
842
- if not value:
+ allow_limited_api = next((opt['value'] for opt in options if opt['name'] == 'python.allow_limited_api'), None)
+ if not allow_limited_api:
843
self._limited_api = False
844
845
if self._limited_api and bool(sysconfig.get_config_var('Py_GIL_DISABLED')):
0 commit comments