예제 #1
0
파일: spl.py 프로젝트: CodeOps/hippyvm
def di_is_executable(interp, this):
    if this.w_dir_res.index < this.w_dir_res.no_of_items:
        item = _di_pathname(this)
    else:
        item = this.path
    return _is_executable(interp.space, item)
예제 #2
0
파일: spl.py 프로젝트: netyum/hippyvm
def is_executable(interp, this):
    return _is_executable(interp.space, this.file_name)
예제 #3
0
파일: spl.py 프로젝트: CodeOps/hippyvm
def is_executable(interp, this):
    return _is_executable(interp.space, this.file_name)
예제 #4
0
def di_is_executable(interp, this):
    if this.w_dir_res.index < this.w_dir_res.no_of_items:
        item = _di_pathname(this)
    else:
        item = this.path
    return _is_executable(interp.space, item)