From bdba32051b402ed5cfd7c1ecc5ba3d9a4fc91371 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 25 Feb 2002 23:23:24 +0000 Subject: 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. --- Lib/bdb.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/bdb.py b/Lib/bdb.py index 9d5bd78..ccd729c 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 -- cgit v0.12