[Python-checkins] r70676 - in python/branches/py3k: Lib/ntpath.py Misc/NEWS
benjamin.peterson
python-checkins at python.org
Sun Mar 29 15:02:52 CEST 2009
Author: benjamin.peterson
Date: Sun Mar 29 15:02:52 2009
New Revision: 70676
Log:
fix variable name #5595
Modified:
python/branches/py3k/Lib/ntpath.py
python/branches/py3k/Misc/NEWS
Modified: python/branches/py3k/Lib/ntpath.py
==============================================================================
--- python/branches/py3k/Lib/ntpath.py (original)
+++ python/branches/py3k/Lib/ntpath.py Sun Mar 29 15:02:52 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/py3k/Misc/NEWS
==============================================================================
--- python/branches/py3k/Misc/NEWS (original)
+++ python/branches/py3k/Misc/NEWS Sun Mar 29 15:02:52 2009
@@ -43,6 +43,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