From 65afcf5037fa3d4cc36f67a0dcd2124feda43dbf Mon Sep 17 00:00:00 2001 From: Mark Florisson Date: Sun, 7 Nov 2010 23:17:23 +0100 Subject: Lex only the lines of code that are displayed in a traceback Have Cython write the sys.executable used to build extensions and have cygdb default the 'file' to that --- Cython/Debugger/libpython.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Cython/Debugger/libpython.py') diff --git a/Cython/Debugger/libpython.py b/Cython/Debugger/libpython.py index 82631716b..6d2126446 100644 --- a/Cython/Debugger/libpython.py +++ b/Cython/Debugger/libpython.py @@ -796,7 +796,7 @@ class PyNoneStructPtr(PyObjectPtr): class PyFrameObjectPtr(PyObjectPtr): _typename = 'PyFrameObject' - def __init__(self, gdbval, cast_to): + def __init__(self, gdbval, cast_to=None): PyObjectPtr.__init__(self, gdbval, cast_to) if not self.is_optimized_out(): -- cgit v1.2.1