Staging
v0.5.1
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
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().
Paper over bug 1054615 by passing sane values to os.utime().
Tip revision: f1af9c0
File | Mode | Size |
---|---|---|
VC6 | ||
bdist_wininst | ||
example_nt | ||
os2emx | ||
os2vacpp | ||
.cvsignore | -rw-r--r-- | 30 bytes |
WinMain.c | -rw-r--r-- | 447 bytes |
_subprocess.c | -rw-r--r-- | 12.9 KB |
_winreg.c | -rw-r--r-- | 42.7 KB |
config.c | -rw-r--r-- | 4.1 KB |
dl_nt.c | -rw-r--r-- | 908 bytes |
dllbase_nt.txt | -rw-r--r-- | 3.5 KB |
empty.c | -rw-r--r-- | 137 bytes |
frozen_dllmain.c | -rw-r--r-- | 3.6 KB |
getpathp.c | -rw-r--r-- | 18.0 KB |
icons.mak | -rw-r--r-- | 213 bytes |
icons.rc | -rw-r--r-- | 59 bytes |
import_nt.c | -rw-r--r-- | 2.4 KB |
make_versioninfo.c | -rw-r--r-- | 1.0 KB |
msvcrtmodule.c | -rwxr-xr-x | 4.9 KB |
py.ico | -rw-r--r-- | 766 bytes |
pyc.ico | -rw-r--r-- | 766 bytes |
pycon.ico | -rw-r--r-- | 766 bytes |
pyconfig.h | -rw-r--r-- | 15.6 KB |
python.mk | -rw-r--r-- | 234 bytes |
python_exe.rc | -rw-r--r-- | 49 bytes |
python_nt.rc | -rw-r--r-- | 1.8 KB |
readme.txt | -rw-r--r-- | 4.2 KB |
testpy.py | -rw-r--r-- | 890 bytes |
tix.diff | -rw-r--r-- | 3.2 KB |
w9xpopen.c | -rw-r--r-- | 3.6 KB |
winsound.c | -rw-r--r-- | 7.1 KB |
Computing file changes ...