From: Michael W. Hudson Date: Thu, 28 Feb 2002 10:00:34 +0000 (+0000) Subject: backport gvanrossum's checkin of X-Git-Tag: v2.2.1c1~134 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9cb028a7631d066bdeee3dcd6bbcdb524063220e;p=thirdparty%2FPython%2Fcpython.git backport gvanrossum's checkin of revision 1.35 of bdb.py date: 2002/02/25 23:23:24; author: gvanrossum; state: Exp; lines: +1 -0 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 29cba8039f58..f5fcb4259903 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