1. jython
  2. jython

Pull requests

#30 Merged
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.

  • Learn about pull requests

Comments (0)