@@ -4,10 +4,10 @@ filename funcname name reason
4
4
# These are all variables that we will be making non-global.
5
5
6
6
# #################################
7
- # global objects to fix in core code
7
+ # # global objects to fix in core code
8
8
9
- # -----------------------
10
- # exported builtin types (C-API)
9
+ # # -----------------------
10
+ # # exported builtin types (C-API)
11
11
12
12
Objects/boolobject.c - PyBool_Type -
13
13
Objects/bytearrayobject.c - PyByteArrayIter_Type -
@@ -102,8 +102,8 @@ Python/context.c - PyContextVar_Type -
102
102
Python/context.c - PyContext_Type -
103
103
Python/traceback.c - PyTraceBack_Type -
104
104
105
- # -----------------------
106
- # other exported builtin types
105
+ # # -----------------------
106
+ # # other exported builtin types
107
107
108
108
# Not in a .h file:
109
109
Objects/codeobject.c - _PyLineIterator -
@@ -126,8 +126,8 @@ Python/hamt.c - _PyHamt_CollisionNode_Type -
126
126
Python/hamt.c - _PyHamt_Type -
127
127
Python/symtable.c - PySTEntry_Type -
128
128
129
- # -----------------------
130
- # private static builtin types
129
+ # # -----------------------
130
+ # # private static builtin types
131
131
132
132
Objects/setobject.c - _PySetDummy_Type -
133
133
Objects/stringlib/unicode_format.h - PyFormatterIter_Type -
@@ -136,8 +136,8 @@ Objects/unicodeobject.c - EncodingMapType -
136
136
# Objects/unicodeobject.c - PyFieldNameIter_Type -
137
137
# Objects/unicodeobject.c - PyFormatterIter_Type -
138
138
139
- # -----------------------
140
- # static builtin structseq
139
+ # # -----------------------
140
+ # # static builtin structseq
141
141
142
142
Objects/floatobject.c - FloatInfoType -
143
143
Objects/longobject.c - Int_InfoType -
@@ -148,8 +148,8 @@ Python/sysmodule.c - Hash_InfoType -
148
148
Python/sysmodule.c - VersionInfoType -
149
149
Python/thread.c - ThreadInfoType -
150
150
151
- # -----------------------
152
- # builtin exception types
151
+ # # -----------------------
152
+ # # builtin exception types
153
153
154
154
Objects/exceptions.c - _PyExc_BaseException -
155
155
Objects/exceptions.c - _PyExc_BaseExceptionGroup -
@@ -286,8 +286,8 @@ Objects/exceptions.c - PyExc_BytesWarning -
286
286
Objects/exceptions.c - PyExc_ResourceWarning -
287
287
Objects/exceptions.c - PyExc_EncodingWarning -
288
288
289
- # -----------------------
290
- # singletons
289
+ # # -----------------------
290
+ # # singletons
291
291
292
292
Objects/boolobject.c - _Py_FalseStruct -
293
293
Objects/boolobject.c - _Py_TrueStruct -
@@ -300,26 +300,26 @@ Objects/sliceobject.c - _Py_EllipsisObject -
300
300
301
301
302
302
# #################################
303
- # global non-objects to fix in core code
303
+ # # global non-objects to fix in core code
304
304
305
- # -----------------------
306
- # effectively-const but initialized lazily
305
+ # # -----------------------
306
+ # # effectively-const but initialized lazily
307
307
308
- # idempotent
308
+ # # idempotent
309
309
Python/dtoa.c - p5s -
310
310
Objects/obmalloc.c new_arena debug_stats -
311
311
312
- # others
312
+ # # others
313
313
Python/perf_trampoline.c - perf_map_file -
314
314
Objects/unicodeobject.c - ucnhash_capi -
315
315
316
- # -----------------------
317
- # state
316
+ # # -----------------------
317
+ # # state
318
318
319
- # local buffer
319
+ # # local buffer
320
320
Python/suggestions.c levenshtein_distance buffer -
321
321
322
- # other
322
+ # # other
323
323
Objects/object.c - _Py_RefTotal -
324
324
Python/perf_trampoline.c - perf_status -
325
325
Python/perf_trampoline.c - extra_code_index -
@@ -329,10 +329,10 @@ Python/thread_pthread_stubs.h - py_tls_entries -
329
329
330
330
331
331
# #################################
332
- # global objects to fix in builtin modules
332
+ # # global objects to fix in builtin modules
333
333
334
- # -----------------------
335
- # static types
334
+ # # -----------------------
335
+ # # static types
336
336
337
337
Modules/_collectionsmodule.c - defdict_type -
338
338
Modules/_collectionsmodule.c - deque_type -
@@ -381,10 +381,10 @@ Modules/itertoolsmodule.c - tee_type -
381
381
Modules/itertoolsmodule.c - teedataobject_type -
382
382
Modules/itertoolsmodule.c - ziplongest_type -
383
383
384
- # -----------------------
385
- # other
384
+ # # -----------------------
385
+ # # other
386
386
387
- # state
387
+ # # state
388
388
Modules/faulthandler.c - fatal_error -
389
389
Modules/faulthandler.c - thread -
390
390
Modules/faulthandler.c - user_signals -
@@ -393,10 +393,10 @@ Modules/faulthandler.c - old_stack -
393
393
394
394
395
395
# #################################
396
- # global non-objects to fix in builtin modules
396
+ # # global non-objects to fix in builtin modules
397
397
398
- # -----------------------
399
- # initialized once
398
+ # # -----------------------
399
+ # # initialized once
400
400
401
401
Modules/_io/bufferedio.c _PyIO_trap_eintr eintr_int -
402
402
Modules/posixmodule.c os_dup2_impl dup3_works -
@@ -405,8 +405,8 @@ Modules/posixmodule.c - ticks_per_second -
405
405
Modules/timemodule.c _PyTime_GetClockWithInfo initialized -
406
406
Modules/timemodule.c _PyTime_GetProcessTimeWithInfo ticks_per_second -
407
407
408
- # -----------------------
409
- # state
408
+ # # -----------------------
409
+ # # state
410
410
411
411
Modules/_tracemalloc.c - allocators -
412
412
Modules/_tracemalloc.c - tables_lock -
@@ -420,18 +420,17 @@ Modules/_tracemalloc.c - tracemalloc_traces -
420
420
Modules/_tracemalloc.c - tracemalloc_domains -
421
421
Modules/_tracemalloc.c - tracemalloc_reentrant_key -
422
422
Modules/faulthandler.c faulthandler_dump_traceback reentrant -
423
- Modules/posixmodule.c - environ -
424
423
Modules/signalmodule.c - is_tripped -
425
424
Modules/signalmodule.c - signal_global_state -
426
425
Modules/signalmodule.c - wakeup -
427
426
Modules/signalmodule.c - Handlers -
428
427
429
428
430
429
# #################################
431
- # global objects to fix in extension modules
430
+ # # global objects to fix in extension modules
432
431
433
- # -----------------------
434
- # static types
432
+ # # -----------------------
433
+ # # static types
435
434
436
435
Modules/_asynciomodule.c - FutureIterType -
437
436
Modules/_asynciomodule.c - FutureType -
@@ -506,18 +505,18 @@ Modules/xxmodule.c - Xxo_Type -
506
505
Modules/xxsubtype.c - spamdict_type -
507
506
Modules/xxsubtype.c - spamlist_type -
508
507
509
- # -----------------------
510
- # non-static types - initialized once
508
+ # # -----------------------
509
+ # # non-static types - initialized once
511
510
512
- # heap types
511
+ # # heap types
513
512
Modules/_decimal/_decimal.c - DecimalTuple -
514
513
Modules/_decimal/_decimal.c - PyDecSignalDict_Type -
515
514
Modules/_tkinter.c - PyTclObject_Type -
516
515
Modules/_tkinter.c - Tkapp_Type -
517
516
Modules/_tkinter.c - Tktt_Type -
518
517
Modules/xxlimited_35.c - Xxo_Type -
519
518
520
- # exception types
519
+ # # exception types
521
520
Modules/_ctypes/_ctypes.c - PyExc_ArgError -
522
521
Modules/_cursesmodule.c - PyCursesError -
523
522
Modules/_decimal/_decimal.c - DecimalException -
@@ -528,15 +527,15 @@ Modules/socketmodule.c - socket_gaierror -
528
527
Modules/xxlimited_35.c - ErrorObject -
529
528
Modules/xxmodule.c - ErrorObject -
530
529
531
- # -----------------------
532
- # cached - initialized once
530
+ # # -----------------------
531
+ # # cached - initialized once
533
532
534
- # manually cached PyUnicodeOjbect
533
+ # # manually cached PyUnicodeOjbect
535
534
Modules/_asynciomodule.c - context_kwname -
536
535
Modules/_ctypes/callproc.c _ctypes_get_errobj error_object_name -
537
536
Modules/_ctypes/_ctypes.c CreateSwappedType suffix -
538
537
539
- # other - during module init
538
+ # # other - during module init
540
539
Modules/_asynciomodule.c - asyncio_mod -
541
540
Modules/_asynciomodule.c - traceback_extract_stack -
542
541
Modules/_asynciomodule.c - asyncio_future_repr_func -
@@ -551,10 +550,10 @@ Modules/_zoneinfo.c - io_open -
551
550
Modules/_zoneinfo.c - _tzpath_find_tzfile -
552
551
Modules/_zoneinfo.c - _common_mod -
553
552
554
- # -----------------------
555
- # other
553
+ # # -----------------------
554
+ # # other
556
555
557
- # initialized once
556
+ # # initialized once
558
557
Modules/_ctypes/_ctypes.c - _unpickle -
559
558
Modules/_ctypes/_ctypes.c PyCArrayType_from_ctype cache -
560
559
Modules/_cursesmodule.c - ModDict -
@@ -577,7 +576,7 @@ Modules/_decimal/_decimal.c - Rational -
577
576
Modules/_decimal/_decimal.c - SignalTuple -
578
577
Modules/arraymodule.c array_array___reduce_ex___impl array_reconstructor -
579
578
580
- # state
579
+ # # state
581
580
Modules/_asynciomodule.c - cached_running_holder -
582
581
Modules/_asynciomodule.c - fi_freelist -
583
582
Modules/_asynciomodule.c - fi_freelist_len -
@@ -592,20 +591,19 @@ Modules/_tkinter.c - valInCmd -
592
591
Modules/_tkinter.c - trbInCmd -
593
592
Modules/_zoneinfo.c - TIMEDELTA_CACHE -
594
593
Modules/_zoneinfo.c - ZONEINFO_WEAK_CACHE -
595
- Modules/syslogmodule.c - S_ident_o -
596
594
597
595
598
596
# #################################
599
- # global non-objects to fix in extension modules
597
+ # # global non-objects to fix in extension modules
600
598
601
- # -----------------------
602
- # initialized once
599
+ # # -----------------------
600
+ # # initialized once
603
601
604
- # pre-allocated buffer
602
+ # # pre-allocated buffer
605
603
Modules/nismodule.c nisproc_maplist_2 res -
606
604
Modules/pyexpat.c PyUnknownEncodingHandler template_buffer -
607
605
608
- # other
606
+ # # other
609
607
Include/datetime.h - PyDateTimeAPI -
610
608
Modules/_asynciomodule.c - module_initialized -
611
609
Modules/_ctypes/cfield.c _ctypes_get_fielddesc initialized -
@@ -650,8 +648,8 @@ Modules/readline.c - libedit_history_start -
650
648
Modules/socketmodule.c - accept4_works -
651
649
Modules/socketmodule.c - sock_cloexec_works -
652
650
653
- # -----------------------
654
- # state
651
+ # # -----------------------
652
+ # # state
655
653
656
654
Modules/_asynciomodule.c - cached_running_holder_tsid -
657
655
Modules/_asynciomodule.c - task_name_counter -
@@ -681,4 +679,3 @@ Modules/readline.c - completed_input_string -
681
679
Modules/rotatingtree.c - random_stream -
682
680
Modules/rotatingtree.c - random_value -
683
681
Modules/socketmodule.c - defaulttimeout -
684
- Modules/syslogmodule.c - S_log_open -
0 commit comments