Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bdba320

Browse files
committed
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.
1 parent 16ac99a commit bdba320

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lib/bdb.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ def canonic(self, filename):
2828
canonic = self.fncache.get(filename)
2929
if not canonic:
3030
canonic = os.path.abspath(filename)
31+
canonic = os.path.normcase(canonic)
3132
self.fncache[filename] = canonic
3233
return canonic
3334

0 commit comments

Comments
 (0)