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
........
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]
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.