os.path.islink does not recognize Windows directory symbolic links (symlinks)
This behaves different from CPython. Not JIT-related.
for root, subdirs, _ in os.walk("D:\\folder\\"): for subdir in subdirs: if os.path.islink(os.path.join(root, subdir)): print("Link: " + os.path.join(root, subdir))
If there are a bunch of directory symbolic links (mklink /D) in D:\folder, PyPy 7.3.4 will not recognize them. Terminal output remains blank. CPython (tested on 3.7 and 3.9) will print the paths as expected.
No implementation sees directory junctions (mklink /J), but that's probably a case for CPython developers first.
This also impacts os.walk behavior, I think? My pypy code seemed to always follow links, even when I told os.walk() to not do that.
Edit: Corrected PyPy version number (I was confused somewhere)