gh-123681: Check the strftime() behavior at runtime instead of at the compile time#128444
gh-123681: Check the strftime() behavior at runtime instead of at the compile time#128444serhiy-storchaka wants to merge 7 commits intopython:mainfrom
Conversation
…at the compile time It is needed to support cross-compiling. Remove macros Py_NORMALIZE_CENTURY and Py_STRFTIME_C99_SUPPORT.
|
This PR is not needed anymore. Please see the issue history. |
|
No, it is needed to support cross-compiling. You cannot check the runtime behavior at compile time when cross-compiling. |
There is no need; we require C99 compliant strftime. |
|
It is not C99 compliant (or at least not Python documentation compliant) on Linux. This is why this workaround was needed at first place. |
If that was the case, all our Linux build bots and Linux CI would now be broken. However it is not. |
|
I wonder why? I guess because ac_cv_normalize_century=yes if cross-compiling. |
Because it is C99 compliant, presumably.
|
|
Sorry, I misread it as |
|
What's the status of this PR? |
|
@serhiy-storchaka apparently, the JIT tests for |
It is needed to support cross-compiling.
Remove macros Py_NORMALIZE_CENTURY and Py_STRFTIME_C99_SUPPORT.
test_strftime_y2kfails on embedded Linux #123681