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 02df049 commit df35414Copy full SHA for df35414
mesonpy/__init__.py
@@ -844,8 +844,8 @@ def __init__(
844
if self._limited_api:
845
# check whether limited API is disabled for the Meson project
846
options = self._info('intro-buildoptions')
847
- value = next((option['value'] for option in options if option['name'] == 'python.allow_limited_api'), None)
848
- 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:
849
self._limited_api = False
850
851
if self._limited_api and bool(sysconfig.get_config_var('Py_GIL_DISABLED')):
0 commit comments