[pywin32-bugs] [ pywin32-Bugs-828151 ] win32pdh.AddCounter changes comma symbol
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2003-10-22 11:30:07
|
Bugs item #828151, was opened at 2003-10-22 13:17 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=828151&group_id=78018 Category: win32 Group: None Status: Open Resolution: None Priority: 5 Submitted By: Johan Fredrik Öhman (johanfo) Assigned to: Nobody/Anonymous (nobody) Summary: win32pdh.AddCounter changes comma symbol Initial Comment: This bug caused me some major headache. On some machines (not all) the win32pdh.AddCounter(base, path) causes some trouble with the Locale so that the decimal is changed from "." to "," This has to be a bug? BTW What is the easiste way to check what version number of your win32 extentions I am running? print "wgetCpu1 (0.3):", float(0.3) counter = win32pdh.AddCounter(base, path) print "wgetCpu2 (0.3):", float(0.3) ============================== wgetCpu1 (0.3): 0.3 wgetCpu2 (0.3): 0,3 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=828151&group_id=78018 |