Dunderheaded blunder that broke thread module on 2.4.

This commit is contained in:
Ryan Williams
2010-02-09 14:31:18 -08:00
parent 13046f4c4d
commit a45084b13b

View File

@@ -38,8 +38,8 @@ def interrupt_main():
else:
raise KeyboardInterrupt()
__original_stack_size__ = __thread.stack_size
if hasattr(__thread, 'stack_size'):
__original_stack_size__ = __thread.stack_size
def stack_size(size=None):
if size is None:
return __original_stack_size__()