mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
gh-81057: Move More Globals to _PyRuntimeState (gh-100092)
https://github.com/python/cpython/issues/81057
This commit is contained in:
parent
d47ffeb9e3
commit
91a8e002c2
14 changed files with 66 additions and 56 deletions
|
|
@ -9,6 +9,7 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
#include "pycore_fileutils.h" // _Py_error_handler
|
||||
#include "pycore_ucnhash.h" // _PyUnicode_Name_CAPI
|
||||
|
||||
void _PyUnicode_ExactDealloc(PyObject *op);
|
||||
|
||||
|
|
@ -52,6 +53,8 @@ struct _Py_unicode_ids {
|
|||
struct _Py_unicode_state {
|
||||
struct _Py_unicode_fs_codec fs_codec;
|
||||
|
||||
_PyUnicode_Name_CAPI *ucnhash_capi;
|
||||
|
||||
// Unicode identifiers (_Py_Identifier): see _PyUnicode_FromId()
|
||||
struct _Py_unicode_ids ids;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue