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

2021-05-17 Thread Ken Jin
Ken Jin added the comment: Hi Christian and Victor, thanks for the advice! Points taken. I'll keep in mind to create a new issue for similar things in the future so things are less confusing for everyone. The new issue for this is Issue44156. --

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

2021-05-17 Thread Christian Heimes
Change by Christian Heimes : -- title: [subinterpreters] Make static caches in various places subinterpreter compatible -> [subinterpreters] Convert "global" static variable caches in _json to heap variables ___ Python tracker

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

2021-02-01 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

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

2021-02-01 Thread STINNER Victor
STINNER Victor added the comment: New changeset b5931f1d9f1f9f907e5cb6e193154672f78c1225 by Ken Jin in branch 'master': bpo-42834: Fix _json internal caches for subinterpreters (GH-24121) https://github.com/python/cpython/commit/b5931f1d9f1f9f907e5cb6e193154672f78c1225 --

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

2021-01-05 Thread Ken Jin
Change by Ken Jin : -- keywords: +patch pull_requests: +22952 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24121 ___ Python tracker ___

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

2021-01-05 Thread Ken Jin
New submission from Ken Jin : _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