Message261927
| 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:42 | inglesp | set | recipients:
+ inglesp, ronaldoussoren, ned.deily |
| 2016年03月17日 18:37:42 | inglesp | set | messageid: <1458239862.54.0.875607202974.issue26583@psf.upfronthosting.co.za> |
| 2016年03月17日 18:37:42 | inglesp | link | issue26583 messages |
| 2016年03月17日 18:37:42 | inglesp | create |
|