]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40521: Disable Unicode caches in isolated subinterpreters (GH-19933)
authorVictor Stinner <vstinner@python.org>
Tue, 5 May 2020 16:50:30 +0000 (18:50 +0200)
committerGitHub <noreply@github.com>
Tue, 5 May 2020 16:50:30 +0000 (18:50 +0200)
commit607b1027fec7b4a1602aab7df57795fbcec1c51b
tree2b67c0fcc706694608a09fc83402a87fe31c56ac
parent299b8c61e9d1a42b929b8deb1b05067876e191e6
bpo-40521: Disable Unicode caches in isolated subinterpreters (GH-19933)

When Python is built in the experimental isolated subinterpreters
mode, disable Unicode singletons and Unicode interned strings since
they are shared by all interpreters.

Temporary workaround until these caches are made per-interpreter.
Objects/typeobject.c
Objects/unicodeobject.c