This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author belopolsky
Recipients belopolsky, gvanrossum, maltehelmert, pitrou, rbp
Date 2008-02-24.03:09:14
SpamBayes Score 0.04884688
Marked as misclassified No
Message-id <1203822555.38.0.379645953921.issue1040026@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
Date User Action Args
2008-02-24 03:09:15belopolskysetspambayes_score: 0.0488469 -> 0.04884688
recipients: + belopolsky, gvanrossum, maltehelmert, pitrou, rbp
2008-02-24 03:09:15belopolskysetspambayes_score: 0.0488469 -> 0.0488469
messageid: <1203822555.38.0.379645953921.issue1040026@psf.upfronthosting.co.za>
2008-02-24 03:09:14belopolskylinkissue1040026 messages
2008-02-24 03:09:14belopolskycreate