forked frompython/cpython
- Notifications
You must be signed in to change notification settings - Fork0
Commit70f5f79

Anselm Kruis
Issuepython#106: tasklet.setup() now raises RuntimeError, if the tasklet is alive
If you call tasklet.setup(*args, **kwargs) and the tasklet is already alive, Stackless now raises RuntimeError.Previously the behaviour was undefined.Additionally this change updates the documentation of tasklet.setup() and adds a test case.https://bitbucket.org/stackless-dev/stackless/issues/106(grafted from f25b5c2a3a90475f649c75333864e28dc8e50800)1 parentbaa885e commit70f5f79
File tree
4 files changed
+54
-7
lines changed- Doc/library/stackless
- Stackless
- module
- unittests
4 files changed
+54
-7
lines changedLines changed: 14 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
78 | 78 |
| |
79 | 79 |
| |
80 | 80 |
| |
81 |
| - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
82 | 84 |
| |
83 | 85 |
| |
84 | 86 |
| |
| |||
147 | 149 |
| |
148 | 150 |
| |
149 | 151 |
| |
150 |
| - | |
151 |
| - | |
152 |
| - | |
153 |
| - | |
154 |
| - | |
155 |
| - | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
156 | 163 |
| |
157 | 164 |
| |
158 | 165 |
| |
|
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
12 | 16 |
| |
13 | 17 |
| |
14 | 18 |
| |
|
Lines changed: 22 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
373 | 373 |
| |
374 | 374 |
| |
375 | 375 |
| |
| 376 | + | |
376 | 377 |
| |
377 | 378 |
| |
378 | 379 |
| |
| |||
1048 | 1049 |
| |
1049 | 1050 |
| |
1050 | 1051 |
| |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
| 1058 | + | |
| 1059 | + | |
| 1060 | + | |
| 1061 | + | |
| 1062 | + | |
| 1063 | + | |
| 1064 | + | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
| 1071 | + | |
| 1072 | + | |
1051 | 1073 |
| |
1052 | 1074 |
| |
1053 | 1075 |
| |
|
Lines changed: 14 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1123 | 1123 |
| |
1124 | 1124 |
| |
1125 | 1125 |
| |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
| 1135 | + | |
| 1136 | + | |
| 1137 | + | |
| 1138 | + | |
| 1139 | + | |
1126 | 1140 |
| |
1127 | 1141 |
| |
1128 | 1142 |
| |
|
0 commit comments
Comments
(0)