Author zyasoft
Recipients trickyturtle, zyasoft
Date 2017-05-27.18:04:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
isdir is implemented in Lib/ with the following code:

def isdir(s):
    """Return true if the pathname refers to an existing directory."""
        st = os.stat(s)
    except os.error:
        return False
    return stat.S_ISDIR(st.st_mode)

In turn the core of the stat function is implemented here; Note that we have differentiated stat functions as well for file descriptors (fstat) and symbolic links (lstat), as well as for Windows (WindowsStatFunction):

Perhaps Z/OS does not support "unix:*" attributes, or only does so partially. We do know that Java does support, and in general the Java implementation will always be more reliable than using other predicates, *if available*.

So that is my recommendation: customize usage to use Java where possible, possibly by some specific Jython extensions in
Date User Action Args
2017-05-27 18:04:29zyasoftsetmessageid: <>
2017-05-27 18:04:29zyasoftsetrecipients: + zyasoft, trickyturtle
2017-05-27 18:04:29zyasoftlinkissue2595 messages
2017-05-27 18:04:28zyasoftcreate