diff options
author | Victor Stinner <vstinner@redhat.com> | 2018-08-01 01:07:00 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-01 01:07:00 (GMT) |
commit | 9851227382431a40a138fdff994278d9e7743c74 (patch) | |
tree | 01758c7f68b8676d01cffe3ed6601a1d483e6cf8 /Programs | |
parent | a4d20b2e5ece2120f129cb4dda951a6c2461e92d (diff) | |
download | cpython-9851227382431a40a138fdff994278d9e7743c74.zip cpython-9851227382431a40a138fdff994278d9e7743c74.tar.gz cpython-9851227382431a40a138fdff994278d9e7743c74.tar.bz2 |
bpo-34170: Rename _PyCoreConfig.unbuffered_stdip (GH-8594)
* Rename _PyCoreConfig.unbuffered_stdio to buffered_stdio
* Rename _PyCoreConfig.debug to parser_debug
Diffstat (limited to 'Programs')
-rw-r--r-- | Programs/_testembed.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Programs/_testembed.c b/Programs/_testembed.c index 94db29b..1cdc4c3 100644 --- a/Programs/_testembed.c +++ b/Programs/_testembed.c @@ -356,13 +356,13 @@ dump_config(void) printf("inspect = %i\n", config->inspect); printf("interactive = %i\n", config->interactive); printf("optimization_level = %i\n", config->optimization_level); - printf("debug = %i\n", config->debug); + printf("parser_debug = %i\n", config->parser_debug); printf("write_bytecode = %i\n", config->write_bytecode); printf("verbose = %i\n", config->verbose); ASSERT_EQUAL(config->verbose, Py_VerboseFlag); printf("quiet = %i\n", config->quiet); printf("user_site_directory = %i\n", config->user_site_directory); - printf("unbuffered_stdio = %i\n", config->unbuffered_stdio); + printf("buffered_stdio = %i\n", config->buffered_stdio); /* FIXME: test legacy_windows_fs_encoding */ /* FIXME: test legacy_windows_stdio */ @@ -509,7 +509,7 @@ static int test_init_from_config(void) Py_OptimizeFlag = 1; config.optimization_level = 2; - /* FIXME: test debug */ + /* FIXME: test parser_debug */ putenv("PYTHONDONTWRITEBYTECODE="); Py_DontWriteBytecodeFlag = 0; @@ -520,7 +520,7 @@ static int test_init_from_config(void) putenv("PYTHONUNBUFFERED="); Py_UnbufferedStdioFlag = 0; - config.unbuffered_stdio = 1; + config.buffered_stdio = 0; putenv("PYTHONNOUSERSITE="); Py_NoUserSiteDirectory = 0; |