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.readlink returns empty string #6

Open
sonictk opened this issue Jan 15, 2015 · 1 comment
Open

os.readlink returns empty string #6

sonictk opened this issue Jan 15, 2015 · 1 comment

Comments

@sonictk
Copy link

sonictk commented Jan 15, 2015

Hi all; I've recently been looking around for a way to handle symbolic links in Python, and I chanced upon the lib here. However, while islink() works for me, readlink() does not; it always returns an empty string for me on Windows. I'm not that experienced with ctypes (or Python in general), so if there's any solution or something that I might have overlooked here, I'd appreciate any help! (Or even a hint! :D)

@sunshowers
Copy link
Collaborator

sunshowers commented Jan 10, 2022

Hmmm, symlinks really weren't a thing on Windows when I wrote this in 2012, so this doesn't support them. I'd be happy to take a PR with tests though!

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