Dunderheaded blunder that broke thread module on 2.4.
This commit is contained in:
@@ -38,8 +38,8 @@ def interrupt_main():
|
|||||||
else:
|
else:
|
||||||
raise KeyboardInterrupt()
|
raise KeyboardInterrupt()
|
||||||
|
|
||||||
__original_stack_size__ = __thread.stack_size
|
|
||||||
if hasattr(__thread, 'stack_size'):
|
if hasattr(__thread, 'stack_size'):
|
||||||
|
__original_stack_size__ = __thread.stack_size
|
||||||
def stack_size(size=None):
|
def stack_size(size=None):
|
||||||
if size is None:
|
if size is None:
|
||||||
return __original_stack_size__()
|
return __original_stack_size__()
|
||||||
|
Reference in New Issue
Block a user