mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
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:
parent
16ac99a959
commit
bdba32051b
1 changed files with 1 additions and 0 deletions
|
|
@ -28,6 +28,7 @@ def canonic(self, filename):
|
|||
canonic = self.fncache.get(filename)
|
||||
if not canonic:
|
||||
canonic = os.path.abspath(filename)
|
||||
canonic = os.path.normcase(canonic)
|
||||
self.fncache[filename] = canonic
|
||||
return canonic
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue