mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
gh-81057: Move More Globals in Core Code to _PyRuntimeState (gh-99516)
https://github.com/python/cpython/issues/81057
This commit is contained in:
parent
5cfb7d19f5
commit
5f55067e23
24 changed files with 241 additions and 130 deletions
|
@ -191,7 +191,7 @@ extern int _Py_normalize_encoding(const char *, char *, size_t);
|
|||
Py_DecodeLocale() uses mbstowcs()
|
||||
-1: unknown, need to call check_force_ascii() to get the value
|
||||
*/
|
||||
static int force_ascii = -1;
|
||||
#define force_ascii (_PyRuntime.fileutils.force_ascii)
|
||||
|
||||
static int
|
||||
check_force_ascii(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue