Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

os.path.samefile not available on Windows (Python 2.7) #65

Closed
forzenheart opened this issue May 6, 2017 · 3 comments
Closed

os.path.samefile not available on Windows (Python 2.7) #65

forzenheart opened this issue May 6, 2017 · 3 comments

Comments

@forzenheart
Copy link

when i use gvim on windows7,
ropevim.py: 232
os.path.samefile not available.

@mcepl
Copy link
Contributor

mcepl commented May 6, 2017

Damn, you are right. Availability: Unix. OK, I will try to do something about it.

The problem is that although os.stat() exists on Windows as well, st_ino and st_dev (which is what samefile uses) are always zero all the way up to Python 3.3.

Whole discussion of this situation points to crazily complicated stuff, which I have no way how to test.

Let me see what I could do.

@mcepl
Copy link
Contributor

mcepl commented May 6, 2017

Could you test this pull request, please?

@forzenheart
Copy link
Author

ok

@mcepl mcepl closed this as completed in #66 May 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants