From: Mark Florisson Date: Thu, 16 Dec 2010 10:39:40 +0000 (+0100) Subject: Remove tempfile X-Git-Tag: 0.14.1rc0~12^2~7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e5bb833defb31a791c43f07b3a4d41b3c9b8dbb7;p=cython.git Remove tempfile --- 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("""\