Message 110493 - Python tracker (original) (raw)
It looks like my reluctance to add gettimeofday to core without using it there was well founded. Simply adding a dummy call to _PyTime_gettimeofday in main() fixed the build problem.
It's rather strange. I'm sure we have external API functions which never get called in the core. Just a couple of attempts found one candidate:
$ grep -r _PyImport_IsScript Modules/ Objects/ Python/ Include/ Python/import.c:1804:PyAPI_FUNC(int) _PyImport_IsScript(struct filedescr * fd) Include/import.h:43:PyAPI_FUNC(int) _PyImport_IsScript(struct filedescr *);