diff options
author | Mark Florisson <markflorisson88@gmail.com> | 2010-11-07 23:17:23 +0100 |
---|---|---|
committer | Mark Florisson <markflorisson88@gmail.com> | 2010-11-07 23:17:23 +0100 |
commit | 65afcf5037fa3d4cc36f67a0dcd2124feda43dbf (patch) | |
tree | 30a7c6243c992ae995a398a313d7110aee5df682 /Cython/Debugger/libpython.py | |
parent | b85f74fa4da98d1ffb8986bcd6b86bdaf82372ae (diff) | |
download | cython-65afcf5037fa3d4cc36f67a0dcd2124feda43dbf.tar.gz |
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
Diffstat (limited to 'Cython/Debugger/libpython.py')
-rw-r--r-- | Cython/Debugger/libpython.py | 2 |
1 files changed, 1 insertions, 1 deletions
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(): |