diff options
author | Tim Peters <tim.peters@gmail.com> | 2004-10-27 02:33:15 +0000 |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2004-10-27 02:33:15 +0000 |
commit | f1af9c089634b84c1dbbdabed35cd2d43cf6ff04 (patch) | |
tree | 5ac42faca6caf75b2d5d3bb1a3483b9c0cebf393 /Lib/test/test_optparse.py | |
parent | 48aa84b24d02f1564f74bba34f0e3e7d820a8c15 (diff) | |
download | cpython-git-f1af9c089634b84c1dbbdabed35cd2d43cf6ff04.tar.gz |
Paper over bug 1054615 by passing sane values to os.utime().
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.
Diffstat (limited to 'Lib/test/test_optparse.py')
0 files changed, 0 insertions, 0 deletions