https://github.com/python/cpython/commit/eb6d0e0b2b9f1cc36fb2b7e396bf3100214b3e09
commit: eb6d0e0b2b9f1cc36fb2b7e396bf3100214b3e09
branch: main
author: Victor Stinner <[email protected]>
committer: vstinner <[email protected]>
date: 2026-02-10T17:27:44Z
summary:
gh-141563: Fix test_cext on Windows (#144677)
The 'module' argument is now always needed to call the test_datetime
method.
files:
M Lib/test/test_cext/extension.c
diff --git a/Lib/test/test_cext/extension.c b/Lib/test/test_cext/extension.c
index 28531b47383b85..a2f6151d8b36ed 100644
--- a/Lib/test/test_cext/extension.c
+++ b/Lib/test/test_cext/extension.c
@@ -74,13 +74,7 @@ static PyMethodDef _testcext_methods[] = {
static int
-_testcext_exec(
-#ifdef __STDC_VERSION__
- PyObject *module
-#else
- PyObject *Py_UNUSED(module)
-#endif
- )
+_testcext_exec(PyObject *module)
{
PyObject *result;
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]