mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
[3.14] gh-120713: Make _Py_NORMALIZE_CENTURY private (GH-135933) (#136387)
Some checks are pending
Tests / Windows MSI (push) Blocked by required conditions
Tests / (push) Blocked by required conditions
Tests / Change detection (push) Waiting to run
Tests / Docs (push) Blocked by required conditions
Tests / Check if the ABI has changed (push) Blocked by required conditions
Tests / WASI (push) Blocked by required conditions
Tests / Check if Autoconf files are up to date (push) Blocked by required conditions
Tests / Check if generated files are up to date (push) Blocked by required conditions
Tests / Hypothesis tests on Ubuntu (push) Blocked by required conditions
Tests / Ubuntu SSL tests with OpenSSL (push) Blocked by required conditions
Tests / Address sanitizer (push) Blocked by required conditions
Tests / Cross build Linux (push) Blocked by required conditions
Tests / CIFuzz (push) Blocked by required conditions
Tests / All required checks pass (push) Blocked by required conditions
Lint / lint (push) Waiting to run
Some checks are pending
Tests / Windows MSI (push) Blocked by required conditions
Tests / (push) Blocked by required conditions
Tests / Change detection (push) Waiting to run
Tests / Docs (push) Blocked by required conditions
Tests / Check if the ABI has changed (push) Blocked by required conditions
Tests / WASI (push) Blocked by required conditions
Tests / Check if Autoconf files are up to date (push) Blocked by required conditions
Tests / Check if generated files are up to date (push) Blocked by required conditions
Tests / Hypothesis tests on Ubuntu (push) Blocked by required conditions
Tests / Ubuntu SSL tests with OpenSSL (push) Blocked by required conditions
Tests / Address sanitizer (push) Blocked by required conditions
Tests / Cross build Linux (push) Blocked by required conditions
Tests / CIFuzz (push) Blocked by required conditions
Tests / All required checks pass (push) Blocked by required conditions
Lint / lint (push) Waiting to run
Co-authored-by: Petr Viktorin <encukou@gmail.com>
This commit is contained in:
parent
145c08629b
commit
376e037ecc
4 changed files with 6 additions and 6 deletions
|
@ -1928,7 +1928,7 @@ wrap_strftime(PyObject *object, PyObject *format, PyObject *timetuple,
|
|||
}
|
||||
replacement = freplacement;
|
||||
}
|
||||
#ifdef Py_NORMALIZE_CENTURY
|
||||
#ifdef _Py_NORMALIZE_CENTURY
|
||||
else if (ch == 'Y' || ch == 'G'
|
||||
|| ch == 'F' || ch == 'C'
|
||||
) {
|
||||
|
|
2
configure
generated
vendored
2
configure
generated
vendored
|
@ -28234,7 +28234,7 @@ printf "%s\n" "$ac_cv_normalize_century" >&6; }
|
|||
if test "$ac_cv_normalize_century" = yes
|
||||
then
|
||||
|
||||
printf "%s\n" "#define Py_NORMALIZE_CENTURY 1" >>confdefs.h
|
||||
printf "%s\n" "#define _Py_NORMALIZE_CENTURY 1" >>confdefs.h
|
||||
|
||||
fi
|
||||
|
||||
|
|
|
@ -6813,7 +6813,7 @@ int main(void)
|
|||
[ac_cv_normalize_century=yes])])
|
||||
if test "$ac_cv_normalize_century" = yes
|
||||
then
|
||||
AC_DEFINE([Py_NORMALIZE_CENTURY], [1],
|
||||
AC_DEFINE([_Py_NORMALIZE_CENTURY], [1],
|
||||
[Define if year with century should be normalized for strftime.])
|
||||
fi
|
||||
|
||||
|
|
|
@ -1737,9 +1737,6 @@
|
|||
SipHash13: 3, externally defined: 0 */
|
||||
#undef Py_HASH_ALGORITHM
|
||||
|
||||
/* Define if year with century should be normalized for strftime. */
|
||||
#undef Py_NORMALIZE_CENTURY
|
||||
|
||||
/* Define if you want to enable remote debugging support. */
|
||||
#undef Py_REMOTE_DEBUG
|
||||
|
||||
|
@ -2026,6 +2023,9 @@
|
|||
/* HACL* library can compile SIMD256 implementations */
|
||||
#undef _Py_HACL_CAN_COMPILE_VEC256
|
||||
|
||||
/* Define if year with century should be normalized for strftime. */
|
||||
#undef _Py_NORMALIZE_CENTURY
|
||||
|
||||
/* Define to force use of thread-safe errno, h_errno, and other functions */
|
||||
#undef _REENTRANT
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue