File tree 3 files changed +6
-3
lines changed 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,10 @@ What's New in Stackless 3.X.X?
9
9
10
10
*Release date: 20XX-XX-XX*
11
11
12
+ - https://github.com/stackless-dev/stackless/issues/218
13
+ Fix using Stackless as embedded Python interpreter. The fix for Stackless
14
+ issue 186 (support for sub-interpreters) broke some typical use cases.
15
+
12
16
- https://github.com/stackless-dev/stackless/issues/220
13
17
Improve the error handling in case of failed stack transfers / hard tasklet
14
18
switches. Call Py_FatalError, if a clean recovery is impossible.
@@ -17,7 +21,7 @@ What's New in Stackless 3.X.X?
17
21
C-API documentation update: update the names of watchdog flags to match the
18
22
implementation.
19
23
20
- - https://github.com/stackless-dev/stackless/issues/221
24
+ - https://github.com/stackless-dev/stackless/issues/222
21
25
Fix a bug that could cause an assertion failure and a reference leak during
22
26
the termination of a main-tasklet, if an application embeds Stackless Python.
23
27
Original file line number Diff line number Diff line change @@ -352,7 +352,7 @@ slp_eval_frame(PyFrameObject *f)
352
352
retval = climb_stack_and_eval_frame (f );
353
353
initial_stub = ts -> st .initial_stub ;
354
354
/* cst might be NULL in OOM conditions */
355
- if (initial_stub != NULL ) {
355
+ if (ts -> interp != _PyRuntime . interpreters . main && initial_stub != NULL ) {
356
356
PyCStackObject * cst ;
357
357
register int found = 0 ;
358
358
assert (initial_stub -> startaddr == ts -> st .cstack_base );
Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ def setUp(self):
24
24
from test .support import verbose
25
25
26
26
27
- @unittest .skip ("Stackless issue 218" )
28
27
class EmbeddingTests (EmbeddingTestsMixin , unittest .TestCase ):
29
28
def test_schedule (self ):
30
29
env = dict (os .environ )
You can’t perform that action at this time.
0 commit comments