summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-02-25 23:23:24 (GMT)
committerGuido van Rossum <guido@python.org>2002-02-25 23:23:24 (GMT)
commitbdba32051b402ed5cfd7c1ecc5ba3d9a4fc91371 (patch)
tree65c793e8992c2c9541151444d987e3ac611a1bb0 /Lib
parent16ac99a959a23008e4db5bc2eb91c64d16eda728 (diff)
downloadcpython-bdba32051b402ed5cfd7c1ecc5ba3d9a4fc91371.zip
cpython-bdba32051b402ed5cfd7c1ecc5ba3d9a4fc91371.tar.gz
cpython-bdba32051b402ed5cfd7c1ecc5ba3d9a4fc91371.tar.bz2
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')
-rw-r--r--Lib/bdb.py1
1 files changed, 1 insertions, 0 deletions
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