Revert revisions:

46640 Patch #1454481:  Make thread stack size runtime tunable.
46647 Markup fix

The first is causing many buildbots to fail test runs, and there
are multiple causes with seemingly no immediate prospects for
repairing them.  See python-dev discussion.

Note that a branch can (and should) be created for resolving these
problems, like

svn copy svn+ssh://svn.python.org/python/trunk -r46640 svn+ssh://svn.python.org/python/branches/NEW_BRANCH

followed by merging rev 46647 to the new branch.
This commit is contained in:
Tim Peters 2006-06-04 23:52:47 +00:00
parent c7d14452a4
commit 28eeefe566
14 changed files with 5 additions and 332 deletions

View file

@ -85,22 +85,6 @@ class ThreadTests(unittest.TestCase):
print 'all tasks done'
self.assertEqual(numrunning.get(), 0)
# run with a minimum thread stack size (32kB)
def test_various_ops_small_stack(self):
if verbose:
print 'with 32kB thread stack size...'
threading.stack_size(0x8000)
self.test_various_ops()
threading.stack_size(0)
# run with a large thread stack size (16MB)
def test_various_ops_large_stack(self):
if verbose:
print 'with 16MB thread stack size...'
threading.stack_size(0x1000000)
self.test_various_ops()
threading.stack_size(0)
def test_foreign_thread(self):
# Check that a "foreign" thread can use the threading module.
def f(mutex):