Jason R. Coombs <jar...@jaraco.com> added the comment:

I decided to investigate further. I created another script to test the call to 
_wstat to try to recreate the -1 return code, but I was unable to do so. I'm 
attaching the script, which creates the same 'sample' package, but instead of 
calling import, calls _wstat directly on the 'sample', but it returns 0, even 
in the environments where the test script fails.

This leads me to believe the issue isn't with _wstat, but with the way _wstat 
is called in _Py_stat.

----------
Added file: http://bugs.python.org/file22008/wstat-res.py

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

Reply via email to