1. jython
  2. jython
  3. Pull requests

Pull requests

#30 Merged at ac645c8
Repository
indratalip
Branch
default
Repository
jython
Branch
default

Fix os.stat behaviour for paths with trailing slash when the path exists as a file

Author
  1. Indra Talip
Reviewers
Description

Missed the fact that os.stat will exhibit the same failure as os.lstat when passed a path with a trailing slash when the path exists as a file rather than a directory.

The commit fixes PosixModule.StatFunction and adds some jython specific tests for this failure mode in test_os_jy.

Comments (0)