[issue14080] Sporadic test_imp failure

Stefan Krah report at bugs.python.org
Sat Feb 25 18:25:22 CET 2012

Stefan Krah <stefan-usenet at bytereef.org> added the comment:

Antoine Pitrou <report at bugs.python.org> wrote:
> This might be what triggers the issue, but it's not the cause. Even with
> a bad mtime, the __file__ should still be the right one, so there must
> be something else.

It definitely triggers the issue because the problem also occurs on Fedora
if I use:

    if fullname != 'pep3147' and (mtime != self._path_mtime or _cache_refresh != self._cache_refresh):

But you're right, the real problem should be elsewhere. At least with
the line above everyone should be able to reproduce the issue.


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list