[issue42834] [subinterpreters] Convert "global" static variable caches in _json to heap variables

Ken Jin report at bugs.python.org
Tue Jan 5 10:54:05 EST 2021


New submission from Ken Jin <kenjin4096 at gmail.com>:

_json currently uses a few static locals for caching of PyUnicode and one Exception object.  This patch aims to move them to the heap.

Apologies if this isn't the right way to track subinterpreter issues, I took a look at issue36876 but it seemed like a meta issue to me.

----------
components: Library (Lib), Subinterpreters
messages: 384411
nosy: eric.snow, kj, vstinner
priority: normal
severity: normal
status: open
title: [subinterpreters] Convert "global" static variable caches in _json to heap variables
versions: Python 3.10

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42834>
_______________________________________


More information about the Python-bugs-list mailing list