[issue6727] ImportError when package is symlinked on Windows
Jason R. Coombs
report at bugs.python.org
Wed May 18 00:03:49 CEST 2011
Jason R. Coombs <jaraco at jaraco.com> added the comment:
Indeed, this appears to be a bug in stat64.c, specifically a regression in KB2467174. If I look at the code for _wstat64i32, it doesn't have the code that calls into _wsopen_s for symlinked files/dirs, so uses the legacy behavior to stat the target. I suspect it's also a memory leak, because it doesn't properly close the "findhandle" in this case.
Any suggestions on how to handle upstream bugs in Windows?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6727>
_______________________________________
More information about the Python-bugs-list
mailing list