[Patches] [ python-Patches-606592 ] Subsecond timestamps
noreply@sourceforge.net
noreply@sourceforge.net
Mon, 09 Sep 2002 07:25:45 -0700
Patches item #606592, was opened at 2002-09-09 07: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: Closed
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: Martin v. Löwis (loewis)
Date: 2002-09-09 16:25
Message:
Logged In: YES
user_id=21627
Committed as
configure 1.331
configure.in 1.342
pyconfig.h.in 1.48
libos.tex 1.95
NEWS 1.482
posixmodule.c 2.254
----------------------------------------------------------------------
Comment By: Guido van Rossum (gvanrossum)
Date: 2002-09-09 14: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