This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author inglesp
Recipients inglesp, ned.deily, ronaldoussoren
Date 2016-03-17.18:37:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1458239862.54.0.875607202974.issue26583@psf.upfronthosting.co.za>
In-reply-to
Content
I can reproduce it reliably.

I ran ./configure with --with-pydebug.

I'm not using NFS, and I'm not aware of anything else unusual about my filesystem.

The fact that a timestamp overflows in the failing test is a red herring -- the following also fails, with os.stat raising FileNotFoundError:

    def test_without_timestamp_overflow(self):
        sys.path.insert(0, os.curdir)
        try:
            source = TESTFN + ".py"
            compiled = importlib.util.cache_from_source(source)
            with open(source, 'w') as f:
                pass
            __import__(TESTFN)
            os.stat(compiled)
        finally:
            del sys.path[0]
            remove_files(TESTFN)

I've verified that TESTFN does get imported by writing 'print("hello")' to the source file.
History
Date User Action Args
2016-03-17 18:37:42inglespsetrecipients: + inglesp, ronaldoussoren, ned.deily
2016-03-17 18:37:42inglespsetmessageid: <1458239862.54.0.875607202974.issue26583@psf.upfronthosting.co.za>
2016-03-17 18:37:42inglesplinkissue26583 messages
2016-03-17 18:37:42inglespcreate