diff Python/pythonrun.c @ 63757:c16803bbd790

Issue #9079: Added _PyTime_gettimeofday(_PyTime_timeval *tp) to C API exposed in Python.h. This function is similar to POSIX gettimeofday(struct timeval *tp), but available on platforms without gettimeofday().
author Alexander Belopolsky <alexander.belopolsky@gmail.com>
date Thu, 05 Aug 2010 17:34:27 +0000
parents 907f564476be
children 4ca497f4819c
line wrap: on
line diff
--- a/Python/pythonrun.c	Thu Aug 05 14:08:44 2010 +0000
+++ b/Python/pythonrun.c	Thu Aug 05 17:34:27 2010 +0000
@@ -268,6 +268,8 @@
     /* Initialize _warnings. */
     _PyWarnings_Init();
 
+    _PyTime_Init();
+
     initfsencoding();
 
     if (install_sigs)