summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorDonghee Na <donghee.na@python.org>2023-11-19 01:13:58 (GMT)
committerGitHub <noreply@github.com>2023-11-19 01:13:58 (GMT)
commitb8c952af7281ef9d94e292df1fedc51085635a5e (patch)
tree2a80340e6d022b1063c5b34988ce042e6fbf8029 /Modules
parent1a969b4f55f92a17bec82ce0366021a53afdb2c3 (diff)
downloadcpython-b8c952af7281ef9d94e292df1fedc51085635a5e.zip
cpython-b8c952af7281ef9d94e292df1fedc51085635a5e.tar.gz
cpython-b8c952af7281ef9d94e292df1fedc51085635a5e.tar.bz2
gh-111903: Update AC to support "pycore_critical_section.h" header (gh-112251)
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_functoolsmodule.c1
-rw-r--r--Modules/_io/bufferedio.c1
-rw-r--r--Modules/_io/clinic/bufferedio.c.h3
-rw-r--r--Modules/_io/clinic/textio.c.h3
-rw-r--r--Modules/_io/textio.c1
-rw-r--r--Modules/clinic/_functoolsmodule.c.h3
6 files changed, 6 insertions, 6 deletions
diff --git a/Modules/_functoolsmodule.c b/Modules/_functoolsmodule.c
index 2592c4d..9ab8471 100644
--- a/Modules/_functoolsmodule.c
+++ b/Modules/_functoolsmodule.c
@@ -1,6 +1,5 @@
#include "Python.h"
#include "pycore_call.h" // _PyObject_CallNoArgs()
-#include "pycore_critical_section.h" // Py_BEGIN_CRITICAL_SECTION
#include "pycore_dict.h" // _PyDict_Pop_KnownHash()
#include "pycore_long.h" // _PyLong_GetZero()
#include "pycore_moduleobject.h" // _PyModule_GetState()
diff --git a/Modules/_io/bufferedio.c b/Modules/_io/bufferedio.c
index 169b2b3..d7123ab 100644
--- a/Modules/_io/bufferedio.c
+++ b/Modules/_io/bufferedio.c
@@ -10,7 +10,6 @@
#include "Python.h"
#include "pycore_bytesobject.h" // _PyBytes_Join()
#include "pycore_call.h" // _PyObject_CallNoArgs()
-#include "pycore_critical_section.h" // Py_BEGIN_CRITICAL_SECTION()
#include "pycore_object.h" // _PyObject_GC_UNTRACK()
#include "pycore_pyerrors.h" // _Py_FatalErrorFormat()
#include "pycore_pylifecycle.h" // _Py_IsInterpreterFinalizing()
diff --git a/Modules/_io/clinic/bufferedio.c.h b/Modules/_io/clinic/bufferedio.c.h
index 3fe0350..dd2fbb4 100644
--- a/Modules/_io/clinic/bufferedio.c.h
+++ b/Modules/_io/clinic/bufferedio.c.h
@@ -7,6 +7,7 @@ preserve
# include "pycore_runtime.h" // _Py_ID()
#endif
#include "pycore_abstract.h" // _PyNumber_Index()
+#include "pycore_critical_section.h"// Py_BEGIN_CRITICAL_SECTION()
#include "pycore_modsupport.h" // _PyArg_BadArgument()
PyDoc_STRVAR(_io__BufferedIOBase_readinto__doc__,
@@ -1081,4 +1082,4 @@ skip_optional_pos:
exit:
return return_value;
}
-/*[clinic end generated code: output=b23847480eba3d9b input=a9049054013a1b77]*/
+/*[clinic end generated code: output=2d5f735188df3163 input=a9049054013a1b77]*/
diff --git a/Modules/_io/clinic/textio.c.h b/Modules/_io/clinic/textio.c.h
index 76bf484..675e0ed 100644
--- a/Modules/_io/clinic/textio.c.h
+++ b/Modules/_io/clinic/textio.c.h
@@ -7,6 +7,7 @@ preserve
# include "pycore_runtime.h" // _Py_ID()
#endif
#include "pycore_abstract.h" // _Py_convert_optional_to_ssize_t()
+#include "pycore_critical_section.h"// Py_BEGIN_CRITICAL_SECTION()
#include "pycore_modsupport.h" // _PyArg_UnpackKeywords()
PyDoc_STRVAR(_io__TextIOBase_detach__doc__,
@@ -1046,4 +1047,4 @@ _io_TextIOWrapper_close(textio *self, PyObject *Py_UNUSED(ignored))
return return_value;
}
-/*[clinic end generated code: output=ec8ccae78ec3b379 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=8781a91be6d99e2c input=a9049054013a1b77]*/
diff --git a/Modules/_io/textio.c b/Modules/_io/textio.c
index 9f4155a..545f467 100644
--- a/Modules/_io/textio.c
+++ b/Modules/_io/textio.c
@@ -9,7 +9,6 @@
#include "Python.h"
#include "pycore_call.h" // _PyObject_CallMethod()
#include "pycore_codecs.h" // _PyCodecInfo_GetIncrementalDecoder()
-#include "pycore_critical_section.h" // Py_BEGIN_CRITICAL_SECTION()
#include "pycore_fileutils.h" // _Py_GetLocaleEncoding()
#include "pycore_interp.h" // PyInterpreterState.fs_codec
#include "pycore_long.h" // _PyLong_GetZero()
diff --git a/Modules/clinic/_functoolsmodule.c.h b/Modules/clinic/_functoolsmodule.c.h
index 11fe043..e98984d 100644
--- a/Modules/clinic/_functoolsmodule.c.h
+++ b/Modules/clinic/_functoolsmodule.c.h
@@ -6,6 +6,7 @@ preserve
# include "pycore_gc.h" // PyGC_Head
# include "pycore_runtime.h" // _Py_ID()
#endif
+#include "pycore_critical_section.h"// Py_BEGIN_CRITICAL_SECTION()
#include "pycore_modsupport.h" // _PyArg_UnpackKeywords()
PyDoc_STRVAR(_functools_cmp_to_key__doc__,
@@ -113,4 +114,4 @@ _functools__lru_cache_wrapper_cache_clear(PyObject *self, PyObject *Py_UNUSED(ig
return return_value;
}
-/*[clinic end generated code: output=5e3207fa0d28cdb1 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=755265bb6d5ea751 input=a9049054013a1b77]*/