From e5bb833defb31a791c43f07b3a4d41b3c9b8dbb7 Mon Sep 17 00:00:00 2001 From: Mark Florisson Date: Thu, 16 Dec 2010 11:39:40 +0100 Subject: [PATCH] Remove tempfile --- Cython/Debugger/libpython.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Cython/Debugger/libpython.py b/Cython/Debugger/libpython.py index ab8df406..ee696afe 100644 --- a/Cython/Debugger/libpython.py +++ b/Cython/Debugger/libpython.py @@ -1855,6 +1855,7 @@ def source_gdb_script(script_contents, to_string=False): f.write(script_contents) f.close() gdb.execute("source %s" % filename, to_string=to_string) + os.remove(filename) def register_defines(): source_gdb_script(textwrap.dedent("""\ -- 2.26.2