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 9d5bd78..ccd729c 100644
--- a/Lib/bdb.py
+++ b/Lib/bdb.py
@@ -28,6 +28,7 @@
canonic = self.fncache.get(filename)
if not canonic:
canonic = os.path.abspath(filename)
+ canonic = os.path.normcase(canonic)
self.fncache[filename] = canonic
return canonic