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
Modules
Python
support
Makefile -rw-r--r-- 14.5 KB
README -rw-r--r-- 1.2 KB
pyconfig.h -rw-r--r-- 17.5 KB
sleep.c -rw-r--r-- 866 bytes
unixstuff.c -rw-r--r-- 1.7 KB
unixstuff.h -rw-r--r-- 318 bytes

README

back to top