diff Python/pytime.c @ 76725:bba131e48852

Issue #14127: Add ns= parameter to utime, futimes, and lutimes. Removed futimens as it is now redundant. Changed shutil.copystat to use st_atime_ns and st_mtime_ns from os.stat and ns= parameter to utime--it once again preserves exact metadata on Linux!
author Larry Hastings <larry@hastings.org>
date Thu, 03 May 2012 00:30:07 -0700
parents 47c84e3f08ae
children 0e46e0cd368f
line wrap: on
line diff
--- a/Python/pytime.c	Thu May 03 03:36:40 2012 +0200
+++ b/Python/pytime.c	Thu May 03 00:30:07 2012 -0700
@@ -123,7 +123,7 @@
                     "timestamp out of range for platform time_t");
 }
 
-static time_t
+time_t
 _PyLong_AsTime_t(PyObject *obj)
 {
 #if defined(HAVE_LONG_LONG) && SIZEOF_TIME_T == SIZEOF_LONG_LONG