summaryrefslogtreecommitdiffstats
path: root/Programs
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2021-12-02 10:43:37 (GMT)
committerGitHub <noreply@github.com>2021-12-02 10:43:37 (GMT)
commita6c3b0faa1d55e36539caf19bd3bcf1dea12df84 (patch)
tree806b78a43fe43b90a490d8a0abcba622352768ac /Programs
parentcb2b3c8d3566ae46b3b8d0718019e1c98484589e (diff)
downloadcpython-a6c3b0faa1d55e36539caf19bd3bcf1dea12df84.zip
cpython-a6c3b0faa1d55e36539caf19bd3bcf1dea12df84.tar.gz
cpython-a6c3b0faa1d55e36539caf19bd3bcf1dea12df84.tar.bz2
bpo-45954: Rename PyConfig.no_debug_ranges to code_debug_ranges (GH-29886)
Rename PyConfig.no_debug_ranges to PyConfig.code_debug_ranges and invert the value. Document -X no_debug_ranges and PYTHONNODEBUGRANGES env var in PyConfig.code_debug_ranges documentation.
Diffstat (limited to 'Programs')
-rw-r--r--Programs/_testembed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Programs/_testembed.c b/Programs/_testembed.c
index 8077c47..fc5f44d 100644
--- a/Programs/_testembed.c
+++ b/Programs/_testembed.c
@@ -531,7 +531,7 @@ static int test_init_from_config(void)
config.import_time = 1;
putenv("PYTHONNODEBUGRANGES=0");
- config.no_debug_ranges = 1;
+ config.code_debug_ranges = 0;
config.show_ref_count = 1;
/* FIXME: test dump_refs: bpo-34223 */