homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Arfrever
Recipients Arfrever
Date 2011年04月27日.21:00:15
SpamBayes Score 0.0269092
Marked as misclassified No
Message-id <1303938022.85.0.623572797729.issue11941@psf.upfronthosting.co.za>
In-reply-to
Content
I would like to suggest to add st_atim, st_mtim and st_ctim attributes in os.stat_result objects returned by os.stat(). These attributes would be 2-tuples containing number of seconds and number of nanoseconds. They would expose relevant functionality from libc's stat() and provide better precision than floating-point-based st_atime, st_mtime and st_ctime attributes.
st_atim, st_mtim and st_ctim attributes would be available only if Python has been built on system with libc supporting st_atim, st_mtim and st_ctim in stat structure.
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_stat.h.html
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/time.h.html 
History
Date User Action Args
2011年04月27日 21:00:22Arfreversetrecipients: + Arfrever
2011年04月27日 21:00:22Arfreversetmessageid: <1303938022.85.0.623572797729.issue11941@psf.upfronthosting.co.za>
2011年04月27日 21:00:15Arfreverlinkissue11941 messages
2011年04月27日 21:00:15Arfrevercreate

AltStyle によって変換されたページ (->オリジナル) /