Staging
v0.8.1
https://github.com/python/cpython
Revision f1af9c089634b84c1dbbdabed35cd2d43cf6ff04 authored by Tim Peters on 27 October 2004, 02:33:15 UTC, committed by Tim Peters on 27 October 2004, 02:33:15 UTC
The underlying bug still exists, but also existed in 2.3.4:
import.c's load_source_module() returns NULL if
PyOS_GetLastModificationTime() returns -1, but
PyOS_GetLastModificationTime() doesn't set any exception when it returns
-1, and neither does load_source_module() when it gets back -1.  This
leads to "SystemError: NULL result without error in PyObject_Call"
on an import that fails in this way.
1 parent 48aa84b
History
Tip revision: f1af9c089634b84c1dbbdabed35cd2d43cf6ff04 authored by Tim Peters on 27 October 2004, 02:33:15 UTC
Paper over bug 1054615 by passing sane values to os.utime().
Tip revision: f1af9c0
File Mode Size
.cvsignore -rw-r--r-- 22 bytes
acceler.c -rw-r--r-- 2.8 KB
bitset.c -rw-r--r-- 949 bytes
firstsets.c -rw-r--r-- 2.1 KB
grammar.c -rw-r--r-- 5.1 KB
grammar.mak -rw-r--r-- 1.3 KB
grammar1.c -rw-r--r-- 1.0 KB
intrcheck.c -rw-r--r-- 2.4 KB
listnode.c -rw-r--r-- 983 bytes
metagrammar.c -rw-r--r-- 2.2 KB
myreadline.c -rw-r--r-- 5.3 KB
node.c -rw-r--r-- 3.5 KB
parser.c -rw-r--r-- 8.9 KB
parser.h -rw-r--r-- 1000 bytes
parsetok.c -rw-r--r-- 5.0 KB
pgen.c -rw-r--r-- 14.2 KB
pgenmain.c -rw-r--r-- 3.2 KB
printgrammar.c -rw-r--r-- 2.4 KB
tokenizer.c -rw-r--r-- 31.5 KB
tokenizer.h -rw-r--r-- 2.3 KB
tokenizer_pgen.c -rw-r--r-- 36 bytes

back to top