[issue14599] Windows test_import failure thanks to ImportError.path

Brett Cannon report at bugs.python.org
Mon Jun 11 17:05:54 CEST 2012


Brett Cannon <brett at python.org> added the comment:

If you look at line 127 in importlib/_bootstrap.py you will see that it is an os.open() call to open the bytecode file for exclusive writing. I'm willing to bet the buildbot didn't have the directory writable or something and that triggered the issue. Regardless, this has nothing to do with the finder's cache.

Antoine might have a little more insight since he wrote the atomic code initially. If not then this issue should be closed.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14599>
_______________________________________


More information about the Python-bugs-list mailing list