zouguangxian <[EMAIL PROTECTED]> added the comment:

I encounter the same problem of Mark Hammond. I check the code in
repository, the ensure_relative function in python25 is:

def ensure_relative (path):
    """Take the full path 'path', and make it a relative path so
    it can be the second argument to os.path.join().
    """
    drive, path = os.path.splitdrive(path)
    if sys.platform == 'mac':
        return os.sep + path
    else:
        if path[0:1] == os.sep:
            path = drive + path[1:]
        return path

I also checked python24, and didn't find the code which described by 
Patrice LACOUTURE in msg60533 (view).

----------
nosy: +weck

_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue993766>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to