From: Guido van Rossum Date: Mon, 25 Feb 2002 23:23:24 +0000 (+0000) Subject: canonic(): Fix by Edward K Ream to make breakpoints work better on X-Git-Tag: v2.3c1~6624 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bdba32051b402ed5cfd7c1ecc5ba3d9a4fc91371;p=thirdparty%2FPython%2Fcpython.git canonic(): Fix by Edward K Ream to make breakpoints work better on Windows: apply normcase() as well as abspath(). (Note: this isn't needed to make IDLE work, but it's a good idea anyway.) Bugfix candidate -- both 2.2.1 and 2.1.3. --- diff --git a/Lib/bdb.py b/Lib/bdb.py index 9d5bd78c3746..ccd729ceea7b 100644 --- a/Lib/bdb.py +++ b/Lib/bdb.py @@ -28,6 +28,7 @@ class Bdb: canonic = self.fncache.get(filename) if not canonic: canonic = os.path.abspath(filename) + canonic = os.path.normcase(canonic) self.fncache[filename] = canonic return canonic