mirror of
https://github.com/python/cpython.git
synced 2025-11-24 20:30:18 +00:00
[3.14] gh-123681: Check NORMALIZE_CENTURY behavior at runtime; require C99 (GH-136022) (GH-137947)
A runtime check is needed to support cross-compiling.
Remove the _Py_NORMALIZE_CENTURY macro.
Remove _pydatetime.py's _can_support_c99.
(cherry picked from commit 719e5c3f71)
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
This commit is contained in:
parent
fad7bfc282
commit
7d9b2671c6
8 changed files with 48 additions and 191 deletions
|
|
@ -226,6 +226,7 @@ Modules/_datetimemodule.c datetime_isoformat specs -
|
|||
Modules/_datetimemodule.c parse_hh_mm_ss_ff correction -
|
||||
Modules/_datetimemodule.c time_isoformat specs -
|
||||
Modules/_datetimemodule.c - capi_types -
|
||||
Modules/_datetimemodule.c normalize_century cache -
|
||||
Modules/_decimal/_decimal.c - cond_map_template -
|
||||
Modules/_decimal/_decimal.c - dec_signal_string -
|
||||
Modules/_decimal/_decimal.c - dflt_ctx -
|
||||
|
|
|
|||
|
Can't render this file because it has a wrong number of fields in line 4.
|
Loading…
Add table
Add a link
Reference in a new issue