Tim Golden added the comment:

Just revisited this to see if I could close off. One thing occurred to me which 
should have come up before: this situation will be aggravated by WOW64 file 
redirection. 

If I run 64-bit Python on 64-bit Windows I can successfully stat links in 
%windir%\system32 under 3.4 and 3.3. If I run 32-bit Python on 64-bit Windows, 
I get the error you describe because Windows will silently redirect the 32-bit 
Python process towards %windir%\SysWow64 where the junction (or, possibly, its 
target) does not exist.

Given that I'm able to stat %windir%\system32 junctions on both versions, I'm 
going to close this as works-for-me. I think there's a case for a 
bigger-picture look at the resolution of reparse points across the stdlib but 
that would have to be its own issue.

----------
assignee:  -> tim.golden
resolution:  -> works for me
stage: test needed -> committed/rejected
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18306>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to