mirror of
https://github.com/python/cpython.git
synced 2025-10-09 08:31:26 +00:00
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.
This commit is contained in:
parent
cb2b3c8d35
commit
a6c3b0faa1
8 changed files with 22 additions and 18 deletions
|
@ -386,7 +386,7 @@ class InitConfigTests(EmbeddingTestsMixin, unittest.TestCase):
|
|||
'faulthandler': 0,
|
||||
'tracemalloc': 0,
|
||||
'import_time': 0,
|
||||
'no_debug_ranges': 0,
|
||||
'code_debug_ranges': 1,
|
||||
'show_ref_count': 0,
|
||||
'dump_refs': 0,
|
||||
'malloc_stats': 0,
|
||||
|
@ -818,7 +818,7 @@ class InitConfigTests(EmbeddingTestsMixin, unittest.TestCase):
|
|||
'hash_seed': 123,
|
||||
'tracemalloc': 2,
|
||||
'import_time': 1,
|
||||
'no_debug_ranges': 1,
|
||||
'code_debug_ranges': 0,
|
||||
'show_ref_count': 1,
|
||||
'malloc_stats': 1,
|
||||
|
||||
|
@ -878,7 +878,7 @@ class InitConfigTests(EmbeddingTestsMixin, unittest.TestCase):
|
|||
'hash_seed': 42,
|
||||
'tracemalloc': 2,
|
||||
'import_time': 1,
|
||||
'no_debug_ranges': 1,
|
||||
'code_debug_ranges': 0,
|
||||
'malloc_stats': 1,
|
||||
'inspect': 1,
|
||||
'optimization_level': 2,
|
||||
|
@ -908,7 +908,7 @@ class InitConfigTests(EmbeddingTestsMixin, unittest.TestCase):
|
|||
'hash_seed': 42,
|
||||
'tracemalloc': 2,
|
||||
'import_time': 1,
|
||||
'no_debug_ranges': 1,
|
||||
'code_debug_ranges': 0,
|
||||
'malloc_stats': 1,
|
||||
'inspect': 1,
|
||||
'optimization_level': 2,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue