diff options
author | Ammar Askar <ammar@ammaraskar.com> | 2021-07-07 19:07:12 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-07 19:07:12 (GMT) |
commit | 4823d9a51281ebbc8e8d82a0dd3edc7d13ea8ac7 (patch) | |
tree | b7c97af7b1d15da75321e1434997163cd8c6b9d0 /Programs | |
parent | 3d3027c5fcc683c14ee55ad231d79971ba12b24d (diff) | |
download | cpython-4823d9a51281ebbc8e8d82a0dd3edc7d13ea8ac7.zip cpython-4823d9a51281ebbc8e8d82a0dd3edc7d13ea8ac7.tar.gz cpython-4823d9a51281ebbc8e8d82a0dd3edc7d13ea8ac7.tar.bz2 |
bpo-43950: Add option to opt-out of PEP-657 (GH-27023)
Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
Co-authored-by: Batuhan Taskaya <batuhanosmantaskaya@gmail.com>
Co-authored-by: Ammar Askar <ammar@ammaraskar.com>
Diffstat (limited to 'Programs')
-rw-r--r-- | Programs/_testembed.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Programs/_testembed.c b/Programs/_testembed.c index 64a8714..73e1f38 100644 --- a/Programs/_testembed.c +++ b/Programs/_testembed.c @@ -528,6 +528,9 @@ static int test_init_from_config(void) putenv("PYTHONPROFILEIMPORTTIME=0"); config.import_time = 1; + putenv("PYTHONNODEBUGRANGES=0"); + config.no_debug_ranges = 1; + config.show_ref_count = 1; /* FIXME: test dump_refs: bpo-34223 */ @@ -686,6 +689,7 @@ static void set_most_env_vars(void) putenv("PYTHONMALLOC=malloc"); putenv("PYTHONTRACEMALLOC=2"); putenv("PYTHONPROFILEIMPORTTIME=1"); + putenv("PYTHONNODEBUGRANGES=1"); putenv("PYTHONMALLOCSTATS=1"); putenv("PYTHONUTF8=1"); putenv("PYTHONVERBOSE=1"); |