Message152920
| Author |
Arfrever |
| Recipients |
Arfrever, ncoghlan, python-dev, rosslagerwall, vstinner |
| Date |
2012年02月09日.00:40:23 |
| SpamBayes Score |
0.0035680963 |
| Marked as misclassified |
No |
| Message-id |
<1328748024.17.0.525588422343.issue13964@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Updated version of my suggestion:
os.futime(fd, (atime, mtime))
os.utime(path, (atime, mtime), flags=0)
os.utimeat(dirfd, path, (atime, mtime), flags=0)
atime and mtime could be int, float, decimal.Decimal or None.
All other os.*utime*() functions were introduced in 3.3, so they would be removed.
flags argument of os.utime() and os.utimeat() could be 0 or os.SYMLINK_NOFOLLOW. |
|