[Python-checkins] r70677 - in python/branches/release30-maint: Lib/ntpath.py Misc/NEWS

benjamin.peterson python-checkins at python.org
Sun Mar 29 15:12:59 CEST 2009


Author: benjamin.peterson
Date: Sun Mar 29 15:12:59 2009
New Revision: 70677

Log:
Merged revisions 70676 via svnmerge from 
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r70676 | benjamin.peterson | 2009-03-29 08:02:52 -0500 (Sun, 29 Mar 2009) | 1 line
  
  fix variable name #5595
........


Modified:
   python/branches/release30-maint/   (props changed)
   python/branches/release30-maint/Lib/ntpath.py
   python/branches/release30-maint/Misc/NEWS

Modified: python/branches/release30-maint/Lib/ntpath.py
==============================================================================
--- python/branches/release30-maint/Lib/ntpath.py	(original)
+++ python/branches/release30-maint/Lib/ntpath.py	Sun Mar 29 15:12:59 2009
@@ -257,7 +257,7 @@
 def ismount(path):
     """Test whether a path is a mount point (defined as root of drive)"""
     unc, rest = splitunc(path)
-    seps = _get_bothseps(p)
+    seps = _get_bothseps(path)
     if unc:
         return rest in p[:0] + seps
     p = splitdrive(path)[1]

Modified: python/branches/release30-maint/Misc/NEWS
==============================================================================
--- python/branches/release30-maint/Misc/NEWS	(original)
+++ python/branches/release30-maint/Misc/NEWS	Sun Mar 29 15:12:59 2009
@@ -26,6 +26,8 @@
 Library
 -------
 
+- Issue #5595: Fix UnboundedLocalError in ntpath.ismount().
+
 - Issue #1174606: Calling read() without arguments of an unbounded file
   (typically /dev/zero under Unix) could crash the interpreter.
 


More information about the Python-checkins mailing list