Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Commit 20351c2

Browse files
author
Anselm Kruis
committed
Stackless issue #152: Define Stackless globals to be ignored
Add legitimate globals to ignored-globals.txt. All other Stackless globals should be moved to runtime or interpreter state.
1 parent ab037cb commit 20351c2

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

Tools/c-globals/ignored-globals.txt

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -481,6 +481,37 @@ top
481481
whatstrings
482482

483483

484+
#######################################
485+
# Stackless
486+
487+
# Objects/exceptions.c
488+
_PyExc_TaskletExit
489+
PyExc_TaskletExit
490+
491+
# Stackless/core/stackless_methods.h
492+
_stackless_methtable
493+
494+
# Stackless/core/stacklesseval.c
495+
cstack_cache
496+
cstack_cachecount
497+
unwind_token
498+
Py_UnwindToken
499+
500+
# Stackless/module/scheduling.c
501+
mem_bomb
502+
503+
# Stackless/pickling/prickelpit.c
504+
gen_exhausted_frame
505+
_new_methoddef
506+
507+
# hacks
508+
# Stackless/core/slp_transfer.c (write only, prevent optimization)
509+
_dont_optimise_away_goobledigoobs
510+
# Stackless/module/scheduling.c
511+
_dont_optimise_away_saved_tstat_with_magic
512+
513+
514+
484515
#######################################
485516
# hacks
486517

0 commit comments

Comments
 (0)