8000 Stackless issue #231: Update Stackless related bitbucket.org URLs · stackless-dev/stackless@49c9417 · GitHub
[go: up one dir, main page]

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

Commit 49c9417

Browse files
Anselm KruisAnselm Kruis
Anselm Kruis
authored and
Anselm Kruis
committed
Stackless issue #231: Update Stackless related bitbucket.org URLs
Replace "https://bitbucket.org/stackless-dev/stackless" by "https://github.com/stackless-dev/stackless".
1 parent df052f3 commit 49c9417

File tree

11 files changed

+90
-87
lines changed

11 files changed

+90
-87
lines changed

Stackless/changelog.txt

Lines changed: 59 additions & 56 deletions
Large diffs are not rendered by default.

Stackless/core/stacklesseval.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1159,7 +1159,7 @@ unwind_repr(PyObject *op)
11591159
{
11601160
return PyString_FromString(
11611161
"The invisible unwind token. If you ever should see this,\n"
1162-
"please report the error to https://bitbucket.org/stackless-dev/stackless/issues"
1162+
"please report the error to https://github.com/stackless-dev/stackless/issues"
11631163
);
11641164
}
11651165

Stackless/module/taskletobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1217,7 +1217,7 @@ _impl_tasklet_throw_bomb(PyTaskletObject *self, int pending, PyObject *bomb)
12171217
* because a dead tasklet must not be scheduled.
12181218
*/
12191219

1220-
#if 0 /* disabled until https://bitbucket.org/stackless-dev/stackless/issues/81 is resolved */
1220+
#if 0 /* disabled until https://github.com/stackless-dev/stackless/issues/81 is resolved */
12211221
assert(self->next == NULL && self->prev == NULL);
12221222
#endif
12231223

Stackless/readme.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ at http://stackless.readthedocs.io
1212

1313
2. The Stackless Web Site http://www.stackless.com
1414

15-
The FAQ (https://bitbucket.org/stackless-dev/stackless/wiki/FAQ) has
15+
The FAQ (https://github.com/stackless-dev/stackless/wiki/FAQ) has
1616
a list of further readings.
1717

1818
3. The Mailing List
@@ -39,7 +39,7 @@ Contributing
3939
------------
4040

4141
Contributions are always welcome. Please open an issue or create
42-
a pull request at https://bitbucket.org/stackless-dev/stackless.
42+
a pull request at https://github.com/stackless-dev/stackless.
4343

4444

4545
##################################################################

Stackless/test/reduce_frame_issue61.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
"""
66
A test script to analyse the pickling related part of
7-
https://bitbucket.org/stackless-dev/stackless/issue/61
7+
https://github.com/stackless-dev/stackless/issue/61
88
"""
99

1010
from __future__ import absolute_import, print_function, unicode_literals, division

Stackless/test/unpickle_crash_issue61.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44

55
"""
6-
A test program for https://bitbucket.org/stackless-dev/stackless/issue/61
6+
A test program for https://github.com/stackless-dev/stackless/issue/61
77
"""
88

99
from __future__ import absolute_import, print_function, unicode_literals, division

Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ def setUp(self):
246246
self.c = stackless.channel()
247247

248248
# TODO: This test shows how ill conceived the current closing/closed semantics are.
249-
# See https://bitbucket.org/stackless-dev/stackless/issues/53
249+
# See https://github.com/stackless-dev/stackless/issues/53
250250
def testSequence(self):
251251
def sender():
252252
self.c.send_sequence(xrange(10))
@@ -277,7 +277,7 @@ def sender():
277277
self.assertEqual(length, 10)
278278
# A future version of Stackless may send StopIteration
279279
# automatically, if you close the channel
280-
# See https://bitbucket.org/stackless-dev/stackless/issues/53
280+
# See https://github.com/stackless-dev/stackless/issues/53
281281
self.c.send_exception(StopIteration)
282282
self.c.close()
283283

Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def TaskletFunc(self):
8989

9090
@unittest.skipUnless(withThreads, "requires thread support")
9191
def test_tasklet_dealloc_in_thread_shutdown(self):
92-
# Test for https://bitbucket.org/stackless-dev/stackless/issues/89
92+
# Test for https://github.com/stackless-dev/stackless/issues/89
9393
def other_thread_main():
9494
# print("other thread started")
9595
self.assertIs(stackless.main, stackless.current)
@@ -212,7 +212,7 @@ def __call__(self):
212212
class TestExceptionInScheduleCallback(StacklessTestCase):
213213
# Problem
214214
# Assertion failed: ts->st.current == NULL, file ..\Stackless\module\taskletobject.c, line 51
215-
# See https://bitbucket.org/stackless-dev/stackless/issue/38
215+
# See https://github.com/stackless-dev/stackless/issue/38
216216

217217
def scheduleCallback(self, prev, next):
218218
if next.is_main:
@@ -244,7 +244,7 @@ def testCrasher(self):
244244
self.assertIsNone(f_back)
245245

246246
def testMissingLocalsplusCrasher(self):
247-
# A test case for issue #61 https://bitbucket.org/stackless-dev/stackless/issue/61
247+
# A test case for issue #61 https://github.com/stackless-dev/stackless/issue/61
248248
#
249249
# Some versions of stackless create pickles of frames with the localsplus tuple set to None.
250250
# This test creates a frame with localsplus=None and ensures that Python does not crash upon
@@ -285,7 +285,7 @@ def func(current):
285285
class TestShutdown(StacklessTestCase):
286286

287287
def test_cstack_new(self):
288-
# test for issue #80 https://bitbucket.org/stackless-dev/stackless/issues/80/
288+
# test for issue #80 https://github.com/stackless-dev/stackless/issues/80/
289289
import subprocess
290290
rc = subprocess.call([sys.executable, "-s", "-S", "-E", "-c", """if 1:
291291
import stackless, sys
@@ -305,7 +305,7 @@ def func():
305305

306306
@unittest.skipUnless(withThreads, "requires thread support")
307307
def test_interthread_kill(self):
308-
# test for issue #87 https://bitbucket.org/stackless-dev/stackless/issues/87/
308+
# test for issue #87 https://github.com/stackless-dev/stackless/issues/87/
309309
import subprocess
310310
rc = subprocess.call([sys.executable, "-s", "-S", "-E", "-c", """from __future__ import print_function, absolute_import\nif 1:
311311
import sys
@@ -365,7 +365,7 @@ def other_thread_main(self):
365365

366366
@unittest.skipUnless(withThreads, "requires thread support")
367367
def test_tasklet_end_with_wrong_recursion_level(self):
368-
# test for issue #91 https://bitbucket.org/stackless-dev/stackless/issues/91/
368+
# test for issue #91 https://github.com/stackless-dev/stackless/issues/91/
369369
"""A test for issue #91, wrong recursion level after tasklet re-binding
370370
371371
Assertion failed: ts->recursion_depth == 0 || (ts->st.main == NULL && prev == next), file ../Stackless/module/scheduling.c, line 1291
@@ -414,7 +414,7 @@ def other_thread_main():
414414
class TestStacklessProtokoll(StacklessTestCase):
415415
"""Various tests for violations of the STACKLESS_GETARG() STACKLESS_ASSERT() protocol
416416
417-
See https://bitbucket.org/stackless-dev/stackless/issues/84
417+
See https://github.com/stackless-dev/stackless/issues/84
418418
"""
419419
def test_invalid_args_channel_next(self):
420420
"""test of typeobject.c wrap_next(...)"""
@@ -463,7 +463,7 @@ def test_kill_during_cPickle_stack_switch(self):
463463
# which is fast-pickling a recursive structure. This leads to an
464464
# infinite recursion, which gets interrupted by a bomb thrown from
465465
# main-thread. Until issue #98 got fixed, this caused a crash.
466-
# See https://bitbucket.org/stackless-dev/stackless/issues/98
466+
# See https://github.com/stackless-dev/stackless/issues/98
467467
buf = BytesIO()
468468
import cPickle as pickle
469469
pickler = pickle.Pickler(buf, protocol=-1)
@@ -489,7 +489,7 @@ def test_kill_during_cPickle_stack_switch(self):
489489

490490

491491
class TestUnwinding(StacklessTestCase):
492-
# a test case for https://bitbucket.org/stackless-dev/stackless/issues/119
492+
# a test case for https://github.com/stackless-dev/stackless/issues/119
493493
# The macros STACKLESS_PACK(retval) / STACKLESS_UNPACK(retval) are not thread
494494
# safe. And thread switching can occur, if a destructor runs during stack unwinding.
495495

Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def foo():
168168
self.assertEqual(flag[0], True)
169169

170170
def test_switch_to_current(self):
171-
# See https://bitbucket.org/stackless-dev/stackless/issues/88
171+
# See https://github.com/stackless-dev/stackless/issues/88
172172
current = stackless.current
173173
current.switch()
174174
current.switch() # this second switch used to trigger an assertion violation
@@ -1167,7 +1167,7 @@ def test():
11671167
@unittest.skipUnless(withThreads, "requires thread support")
11681168
@testcase_leaks_references("Tasklet chatches TaskletExit and refuses to die in its thread")
11691169
def test_unbind_fail_cstate_no_thread(self):
1170-
# https://bitbucket.org/stackless-dev/stackless/issues/92
1170+
# https://github.com/stackless-dev/stackless/issues/92
11711171
loop = True
11721172

11731173
def task():
@@ -1196,7 +1196,7 @@ def other_thread_main():
11961196

11971197
def test_setup_fail_alive(self):
11981198
# make sure, that you can't bind a tasklet, which is alive
1199-
# https://bitbucket.org/stackless-dev/stackless/issues/106
1199+
# https://github.com/stackless-dev/stackless/issues/106
12001200

12011201
def task():
12021202
t = stackless.current
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def func(main):
129129
class TestShutdown(StacklessTestCase):
130130
@unittest.skipUnless(withThreads, "requires thread support")
131131
def test_deep_thread(self):
132-
# test for issue #103 https://bitbucket.org/stackless-dev/stackless/issues/103/
132+
# test for issue #103 https://github.com/stackless-dev/stackless/issues/103/
133133

134134
args = []
135135
if not stackless.enable_softswitch(None):
@@ -169,7 +169,7 @@ def recurse():
169169
self.assertEqual(rc, 42)
170170

171171
def test_deep_tasklets(self):
172-
# test for issue #103 https://bitbucket.org/stackless-dev/stackless/issues/103/
172+
# test for issue #103 https://github.com/stackless-dev/stackless/issues/103/
173173

174174
args = []
175175
if not stackless.enable_softswitch(None):
@@ -207,7 +207,7 @@ def recurse():
207207
self.assertEqual(rc, 42)
208208

209209
def test_exit_in_deep_tasklet1(self):
210-
# test for issue #103 https://bitbucket.org/stackless-dev/stackless/issues/103/
210+
# test for issue #103 https://github.com/stackless-dev/stackless/issues/103/
211211

212212
args = []
213213
if not stackless.enable_softswitch(None):
@@ -251,7 +251,7 @@ def recurse():
251251
self.assertEqual(rc, 42)
252252

253253
def test_exit_in_deep_tasklet2(self):
254-
# test for issue #103 https://bitbucket.org/stackless-dev/stackless/issues/103/
254+
# test for issue #103 https://github.com/stackless-dev/stackless/issues/103/
255255

256256
args = []
257257
if not stackless.enable_softswitch(None):
@@ -300,7 +300,7 @@ def recurse():
300300
self.assertEqual(rc, 42)
301301

302302
def test_deep_Py_Exit(self):
303-
# test for issue #103 https://bitbucket.org/stackless-dev/stackless/issues/103/
303+
# test for issue #103 https://github.com/stackless-dev/stackless/issues/103/
304304
try:
305305
import ctypes # @UnusedImport
306306
except ImportError:
@@ -344,7 +344,7 @@ def recurse():
344344

345345
@unittest.skipUnless(withThreads, "requires thread support")
346346
def test_other_thread_Py_Exit(self):
347-
# test for issue #103 https://bitbucket.org/stackless-dev/stackless/issues/103/
347+
# test for issue #103 https://github.com/stackless-dev/stackless/issues/103/
348348
try:
349349
import ctypes # @UnusedImport
350350
except ImportError:
@@ -389,7 +389,7 @@ def exit():
389389

390390
@unittest.skipUnless(withThreads, "requires thread support")
391391
def test_kill_modifies_slp_cstack_chain(self):
392-
# test for issue #105 https://bitbucket.org/stackless-dev/stackless/issues/105/
392+
# test for issue #105 https://github.com/stackless-dev/stackless/issues/105/
393393

394394
args = []
395395
if not stackless.enable_softswitch(None):
@@ -469,7 +469,7 @@ class TestInterpreterShutdown(unittest.TestCase):
469469
# intentionally not a subclass of StacklessTestCase.
470470

471471
def _test_shutdown_with_thread(self, case, is_hard, allowed_errors=(), debug=False):
472-
# test for issue #81 https://bitbucket.org/stackless-dev/stackless/issues/81/
472+
# test for issue #81 https://github.com/stackless-dev/stackless/issues/81/
473473
if not withThreads:
474474
self.skipTest("requires thread support")
475475
script = __file__
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ def test_rebind_from_dead(self):
398398

399399
@testcase_leaks_references("test catches TaskletExit and refuses to die in its own thread")
400400
def test_rebind_from_dead_fail_cstate(self):
401-
# A test for https://bitbucket.org/stackless-dev/stackless/issues/92
401+
# A test for https://github.com/stackless-dev/stackless/issues/92
402402
loop = True
403403

404404
def task():
@@ -599,7 +599,7 @@ def test_switch(self):
599599

600600

601601
class SetupFromDifferentThreadTest(RemoteTaskletTests):
602-
# Test case for issue #60 https://bitbucket.org/stackless-dev/stackless/issue/60
602+
# Test case for issue #60 https://github.com/stackless-dev/stackless/issue/60
603603

604604
def create_tasklet(self, action, *args, **kw):
605605
self.tasklet = stackless.tasklet(action)
@@ -621,7 +621,7 @@ def __del__(self):
621621
self.event.set()
622622

623623
def test_destructor_at_end_of_thread(self):
624-
# Test case for issue #121 https://bitbucket.org/stackless-dev/stackless/issue/121
624+
# Test case for issue #121 https://github.com/stackless-dev/stackless/issue/121
625625
# Run a destructor during clean up of thread local storage
626626
# Until issue #121 got fixed, this caused a reference leak
627627
tls = threading.local()