Message9505

Author zyasoft
Recipients fwierzbicki, pekka.klarck, pjenvey, wayju, zyasoft
Date 2015-02-08.06:23:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1423376611.54.0.621879678731.issue1975@psf.upfronthosting.co.za>
In-reply-to
Content
This has been reworked in the latest Jython 2.7.0 trunk, soon to be a final beta 4; see https://hg.python.org/jython/rev/8b2db200158f and related earlier commits

os.path.isdir is defined as follows:

def isdir(path):
    """Test whether a path is a directory"""
    try:
        st = os.stat(path)
    except os.error:
        return False
    return stat.S_ISDIR(st.st_mode)

Consequently we are now depending on Files.readAttributes(absolutePath, DosFileAttributes.class) to be correct for network shares, which is almost certainly the case since this is in Java itself.

It would be helpful to have independent verification.
History
Date User Action Args
2015-02-08 06:23:31zyasoftsetmessageid: <1423376611.54.0.621879678731.issue1975@psf.upfronthosting.co.za>
2015-02-08 06:23:31zyasoftsetrecipients: + zyasoft, fwierzbicki, pekka.klarck, pjenvey, wayju
2015-02-08 06:23:31zyasoftlinkissue1975 messages
2015-02-08 06:23:31zyasoftcreate