Commit 2e9e0dfc authored by Guido van Rossum's avatar Guido van Rossum

Add canonic() function -- for brand new bdb.py feature.

parent 14b2d30b
......@@ -17,6 +17,10 @@ class Debugger(bdb.Bdb):
bdb.Bdb.__init__(self)
self.pyshell = pyshell
self.make_gui()
def canonic(self, filename):
# Canonicalize filename -- called by Bdb
return os.path.normcase(os.path.abspath(filename))
def close(self, event=None):
if self.interacting:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment