mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
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>
This commit is contained in:
parent
3d3027c5fc
commit
4823d9a512
18 changed files with 276 additions and 64 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue