Bob Kline wrote:
>> I'm happy to announce that ActivePython 2.5.0.0 is now available for
>> download
> 
> Thanks, but even in this new version ActivePython does not report the
> correct time, even on a machine whose CRT (msvcrt.dll) has been patched
> with the KB932590 fix from Microsoft.
> 
> C:\Python25>dir c:\WINDOWS\system32\msvcrt.dll
>  Volume in drive C has no label.
>  Volume Serial Number is 949C-3C97
> 
>  Directory of c:\WINDOWS\system32
> 
> 02/19/2007  06:32 AM           343,040 msvcrt.dll
>                1 File(s)        343,040 bytes
>                0 Dir(s)  28,680,716,288 bytes free
> 
> C:\Python25>time
> The current time is: 17:35:39.02
> Enter the new time:
> 
> C:\Python25>python
> ActivePython 2.5.0.0 (ActiveState Software Inc.) based on
> Python 2.5 (r25:51908, Mar  9 2007, 17:40:28) [MSC v.1310 32 bit (Intel)]
> on win32
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import time
>>>> time.asctime()
> 'Tue Mar 13 16:35:46 2007'
> 

I'll admit to some ignorance here, but Python is getting its time information 
from the operating system, so an incorrect value (as far as my ignorance 
knows) is indicative of an issue with the system.

Note that ActivePython 2.5 is built with VC7.1 so it depends on msvcr71.dll 
rather than msvcrt.dll.

It looks like this KB article is then more relevant:
http://support.microsoft.com/kb/932299

ActivePython installs that DLL if it is not available so I suppose the burden 
may be on ActivePython. Note that this works on my machine and this is the 
same version of msvcr71.dll that is distributed with ActivePython so I'm not 
sure where the disconnect is.


> C:\>time
> The current time is: 14:43:37.48
> Enter the new time:
> C:\>python
> ActivePython 2.5.0.0 (ActiveState Software Inc.) based on
> Python 2.5 (r25:51908, Mar  9 2007, 17:40:28) [MSC v.1310 32 bit (Intel)] on 
> win
> 32
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import time
>>>> time.asctime()
> 'Tue Mar 13 14:43:46 2007'


I've started this bug to look into it:
http://bugs.activestate.com/show_bug.cgi?id=68115

Thanks,
Trent

-- 
Trent Mick
trentm at activestate.com
_______________________________________________
ActivePython mailing list
ActivePython@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython

Reply via email to