[New-bugs-announce] [issue44156] [subinterpreters] Replace static string caches with subinterpreter-compatible alternatives

Ken Jin report at bugs.python.org
Mon May 17 05:34:25 EDT 2021


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

Hello, this is a meta issue for replacing cached string constants in various places with alternatives compatible with subinterpreters such as _Py_IDENTIFIER.

Ideally the replacements should not cause any performance regression. But to be safe I would recommend starting in places that aren't "hot".

A list of such caches can be found via a tool created by Eric: https://www.github.com/python/cpython/tree/main/Tools%2Fc-analyzer.

Thanks everyone!

----------
messages: 393800
nosy: eric.snow, kj, vstinner
priority: normal
severity: normal
status: open
title: [subinterpreters] Replace static string caches with subinterpreter-compatible alternatives
versions: Python 3.11

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


More information about the New-bugs-announce mailing list