summaryrefslogtreecommitdiff
path: root/Lib/bdb.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-02-25 23:23:24 +0000
committerGuido van Rossum <guido@python.org>2002-02-25 23:23:24 +0000
commitbdba32051b402ed5cfd7c1ecc5ba3d9a4fc91371 (patch)
tree65c793e8992c2c9541151444d987e3ac611a1bb0 /Lib/bdb.py
parent16ac99a959a23008e4db5bc2eb91c64d16eda728 (diff)
downloadcpython-git-bdba32051b402ed5cfd7c1ecc5ba3d9a4fc91371.tar.gz
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.
Diffstat (limited to 'Lib/bdb.py')
-rw-r--r--Lib/bdb.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/bdb.py b/Lib/bdb.py
index 9d5bd78c37..ccd729ceea 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