Spaces:
Runtime error
Runtime error
Update python_interpreter_tool.py
Browse files
python_interpreter_tool.py
CHANGED
@@ -31,8 +31,8 @@ class PythonInterpreter(Tool):
|
|
31 |
try:
|
32 |
exec_globals = {}
|
33 |
with capture_stdout() as output:
|
34 |
-
with time_limit(self.timeout):
|
35 |
-
|
36 |
|
37 |
captured_output = output.getvalue().strip()
|
38 |
except Exception as e:
|
|
|
31 |
try:
|
32 |
exec_globals = {}
|
33 |
with capture_stdout() as output:
|
34 |
+
#with time_limit(self.timeout):
|
35 |
+
exec(task, exec_globals)
|
36 |
|
37 |
captured_output = output.getvalue().strip()
|
38 |
except Exception as e:
|