summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorAlexander Belopolsky <alexander.belopolsky@gmail.com>2010-08-05 17:34:27 +0000
committerAlexander Belopolsky <alexander.belopolsky@gmail.com>2010-08-05 17:34:27 +0000
commit3d274b327dd0211aae4b809de8f4eaf524c68e26 (patch)
treec639d7a3e474aabbb6f7c102f01ef9e315586242 /Python/pythonrun.c
parentc7565f8c4c63b30551b52c1de1c3c634c6fb5727 (diff)
downloadcpython-3d274b327dd0211aae4b809de8f4eaf524c68e26.tar.gz
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().
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r--Python/pythonrun.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index f45d7dc9fa..79a19f8dd7 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -268,6 +268,8 @@ Py_InitializeEx(int install_sigs)
/* Initialize _warnings. */
_PyWarnings_Init();
+ _PyTime_Init();
+
initfsencoding();
if (install_sigs)