summaryrefslogtreecommitdiffstats
path: root/Tools/c-analyzer/cpython
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-06-03 23:37:28 (GMT)
committerGitHub <noreply@github.com>2024-06-03 23:37:28 (GMT)
commite5fb3a2385809f6cbdba2061b40fecf5b234f549 (patch)
tree67c4389e236f0864c2ce5fd4ed93703ced68cbe2 /Tools/c-analyzer/cpython
parentc348e27cc1b1e7468f9c0c7d5d6e7f6160d25613 (diff)
downloadcpython-e5fb3a2385809f6cbdba2061b40fecf5b234f549.zip
cpython-e5fb3a2385809f6cbdba2061b40fecf5b234f549.tar.gz
cpython-e5fb3a2385809f6cbdba2061b40fecf5b234f549.tar.bz2
[3.13] gh-117398: Use Per-Interpreter State for the _datetime Static Types (gh-120009)
We make use of the same mechanism that we use for the static builtin types. This required a few tweaks. This change is the final piece needed to make _datetime support multiple interpreters. I've updated the module slot accordingly. (cherry picked from commit 105f22ea46ac16866e6df18ebae2a8ba422b7f45, AKA gh-119929) Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
Diffstat (limited to 'Tools/c-analyzer/cpython')
-rw-r--r--Tools/c-analyzer/cpython/globals-to-fix.tsv1
-rw-r--r--Tools/c-analyzer/cpython/ignored.tsv1
2 files changed, 2 insertions, 0 deletions
diff --git a/Tools/c-analyzer/cpython/globals-to-fix.tsv b/Tools/c-analyzer/cpython/globals-to-fix.tsv
index e579c14..aeb7cad 100644
--- a/Tools/c-analyzer/cpython/globals-to-fix.tsv
+++ b/Tools/c-analyzer/cpython/globals-to-fix.tsv
@@ -307,6 +307,7 @@ Python/crossinterp_exceptions.h - PyExc_InterpreterNotFoundError -
Modules/_datetimemodule.c - zero_delta -
Modules/_datetimemodule.c - utc_timezone -
Modules/_datetimemodule.c - capi -
+Modules/_datetimemodule.c - _globals -
Objects/boolobject.c - _Py_FalseStruct -
Objects/boolobject.c - _Py_TrueStruct -
Objects/dictobject.c - empty_keys_struct -
diff --git a/Tools/c-analyzer/cpython/ignored.tsv b/Tools/c-analyzer/cpython/ignored.tsv
index a1c1553..adb7f8e 100644
--- a/Tools/c-analyzer/cpython/ignored.tsv
+++ b/Tools/c-analyzer/cpython/ignored.tsv
@@ -217,6 +217,7 @@ Modules/_datetimemodule.c - max_fold_seconds -
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/_decimal/_decimal.c - cond_map_template -
Modules/_decimal/_decimal.c - dec_signal_string -
Modules/_decimal/_decimal.c - dflt_ctx -