Staging
v0.5.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
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
RISCOS
Tools
.cvsignore -rw-r--r-- 109 bytes
.hgtags -rw-r--r-- 2.4 KB
LICENSE -rw-r--r-- 12.9 KB
Makefile.pre.in -rw-r--r-- 31.6 KB
README -rw-r--r-- 48.3 KB
aclocal.m4 -rw-r--r-- 2.1 KB
configure -rwxr-xr-x 572.2 KB
configure.in -rw-r--r-- 85.2 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 23.8 KB
setup.py -rw-r--r-- 51.1 KB

README

back to top