Mercurial > cpython-lru_cache-weakref
view Modules/ccpython.cc @ 27281:5a050200f736 legacy-trunk
When time.localtime() is passed a tick count the platform C localtime()
function can't handle, don't raise IOError -- that doesn't make sense.
Raise ValueError instead.
Bugfix candidate.
| author | Tim Peters <tim.peters@gmail.com> |
|---|---|
| date | Fri, 17 Jan 2003 20:08:54 +0000 |
| parents | 57aa277d7a00 |
| children |
line wrap: on
line source
/* Minimal main program -- everything is loaded from the library */ #include "Python.h" extern "C" DL_EXPORT(int) Py_Main( int argc, char *argv[] ); int main( int argc, char *argv[] ) { return Py_Main(argc, argv); }
