Alexander Belopolsky added the comment:

FWIW, the following minimal patch fixed the bug on MacOS X and does not 
affect Linux:

===================================================================
--- Modules/posixmodule.c       (revision 61014)
+++ Modules/posixmodule.c       (working copy)
@@ -5923,7 +5923,7 @@
 
 #ifdef HAVE_TIMES
 #ifndef HZ
-#define HZ 60 /* Universal constant :-) */
+#define HZ sysconf(_SC_CLK_TCK)
 #endif /* HZ */
 
 #if defined(PYCC_VACPP) && defined(PYOS_OS2)

_____________________________________
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

Reply via email to