summaryrefslogtreecommitdiff
path: root/Cython/Debugger/libpython.py
diff options
context:
space:
mode:
authorMark Florisson <markflorisson88@gmail.com>2010-11-07 23:17:23 +0100
committerMark Florisson <markflorisson88@gmail.com>2010-11-07 23:17:23 +0100
commit65afcf5037fa3d4cc36f67a0dcd2124feda43dbf (patch)
tree30a7c6243c992ae995a398a313d7110aee5df682 /Cython/Debugger/libpython.py
parentb85f74fa4da98d1ffb8986bcd6b86bdaf82372ae (diff)
downloadcython-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.py2
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():