[Patches] [ python-Patches-606592 ] Subsecond timestamps

noreply@sourceforge.net noreply@sourceforge.net
Mon, 09 Sep 2002 05:08:24 -0700


Patches item #606592, was opened at 2002-09-09 01:57
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=606592&group_id=5470

Category: Core (C code)
Group: None
Status: Open
>Resolution: Accepted
Priority: 5
Submitted By: Martin v. Löwis (loewis)
>Assigned to: Martin v. Löwis (loewis)
Summary: Subsecond timestamps

Initial Comment:
This patch changes st_mtime/atime/ctime to use floats
if the system offers the st.st_mtim.tv_nsec field and
if that field is nonzero. Support for other APIs can be
added as they come available (on Windows, I believe
you'll have to sidestep the C library to get FILETIMEs).

While this is an API change, reports indicate that
Python applications deal fine with getting floats from
stat.

----------------------------------------------------------------------

>Comment By: Guido van Rossum (gvanrossum)
Date: 2002-09-09 08:08

Message:
Logged In: YES 
user_id=6380

Looks good. Please check it in, adding a NEWS item.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=606592&group_id=5470