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 2ad80d8 commit 7c9d920Copy full SHA for 7c9d920
Include/pyabi.h
@@ -67,11 +67,12 @@
67
# define Py_GIL_DISABLED
68
# endif
69
# if defined(_Py_IS_TESTCEXT)
70
- // When compiling for abi3t, contents of Python.h should not depend
+ // When compiling for abi3t, contents of Python.h should not depend
71
// on Py_GIL_DISABLED.
72
// We ask GCC to error if it sees the macro from this point on.
73
// Since users are free to the macro, and there's no way to undo the
74
- // poisoning at the end of Python.h, we only do this in a test module.
+ // poisoning at the end of Python.h, we only do this in a test module
75
+ // (test_cext).
76
# ifdef __GNUC__
77
# undef Py_GIL_DISABLED
78
# pragma GCC poison Py_GIL_DISABLED
0 commit comments