diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-06-03 23:37:28 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-03 23:37:28 (GMT) |
commit | e5fb3a2385809f6cbdba2061b40fecf5b234f549 (patch) | |
tree | 67c4389e236f0864c2ce5fd4ed93703ced68cbe2 /Misc | |
parent | c348e27cc1b1e7468f9c0c7d5d6e7f6160d25613 (diff) | |
download | cpython-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 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2024-06-01-16-58-43.gh-issue-117398.kR0RW7.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2024-06-01-16-58-43.gh-issue-117398.kR0RW7.rst b/Misc/NEWS.d/next/Library/2024-06-01-16-58-43.gh-issue-117398.kR0RW7.rst new file mode 100644 index 0000000..b0fe066 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2024-06-01-16-58-43.gh-issue-117398.kR0RW7.rst @@ -0,0 +1,2 @@ +The ``_datetime`` module (C implementation for :mod:`datetime`) now supports +being imported in multiple interpreters. |