New submission from Ken Jin <kenjin4...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue44156>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to