mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
GH-133711: Enable UTF-8 mode by default (PEP 686) (#133712)
Co-authored-by: Victor Stinner <vstinner@python.org>
This commit is contained in:
parent
f320c951c3
commit
c89a66feb1
14 changed files with 93 additions and 85 deletions
|
@ -459,7 +459,7 @@ static const char usage_envvars[] =
|
|||
|
||||
/* --- Global configuration variables ----------------------------- */
|
||||
|
||||
/* UTF-8 mode (PEP 540): if equals to 1, use the UTF-8 encoding, and change
|
||||
/* UTF-8 mode (PEP 540): if equal to 1, use the UTF-8 encoding, and change
|
||||
stdin and stdout error handler to "surrogateescape". */
|
||||
int Py_UTF8Mode = 0;
|
||||
int Py_DebugFlag = 0; /* Needed by parser.c */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue