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.
This commit is contained in:
Guido van Rossum 2002-02-25 23:23:24 +00:00
parent 16ac99a959
commit bdba32051b
1 changed files with 1 additions and 0 deletions

View File

@ -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