Skip to content

Commit e02caa4

Browse files
author
Anselm Kruis
committed
removed a few debug related functions from the API
1 parent c221997 commit e02caa4

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

stackless_testsuite/v3_1/testContent.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@
2525
from stackless_testsuite.util import FUNCTION, create_type_tests_for_module
2626
import stackless
2727

28-
29-
DECLARED_API = {'bomb': callable, # undocumented in the manual
28+
# you get them by "from stackless import *"
29+
DECLARED_API = {# 'bomb': callable, # undocumented in the manual
3030
'atomic': type,
31-
'set_error_handler': callable, # undocumented in the manual
31+
# 'set_error_handler': callable, # undocumented in the manual, debug related
3232
'getmain': FUNCTION,
33-
'switch_trap': FUNCTION,
33+
# 'switch_trap': FUNCTION, debug related
3434
'get_thread_info': FUNCTION,
3535
'tasklet': type,
3636
'stackless': types.ModuleType,
@@ -39,10 +39,12 @@
3939
'getruncount': FUNCTION,
4040
'schedule_remove': FUNCTION,
4141
'getcurrent': FUNCTION,
42-
'enable_softswitch': FUNCTION,
42+
# 'enable_softswitch': FUNCTION, depends on the implementation
4343
'getcurrentid': FUNCTION, # undocumented in the manual
4444
'channel': type,
4545
}
46+
47+
# not imported by a "from stackless import *", but provided and documented
4648
ADDITIONAL_API = {"current": stackless.tasklet,
4749
"main": stackless.tasklet,
4850
"runcount": int,

0 commit comments

Comments
 (0)