Christian Heimes added the comment: I don't *use* Windows except for some computer games. But I'm doing some development for Python on Windows in a VMWare box. I'm going to check HZ for you. Give me a couple of minutes to boot the image.
How do you like this idea. Since HZ is only used in posix_times it's fine to cache it in a local static var. static PyObject * posix_times(PyObject *self, PyObject *noargs) { static int hz = -1; struct tms t; clock_t c; if (hz == -1) { /* Py_HZ may call sysconf(), cache the value */ hz = Py_HZ; } errno = 0; ... _____________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1040026> _____________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com