Author vstinner
Recipients Alexander.Belopolsky, Arfrever, belopolsky, eric.smith, loewis, mark.dickinson, pitrou, skrah, vstinner
Date 2012-01-30.22:27:42
SpamBayes Score 0.029934
Marked as misclassified No
Message-id <1327962465.55.0.41108849259.issue13882@psf.upfronthosting.co.za>
In-reply-to
Content
Version 5:
 - add "datetime" and "timespec" formats: datetime.datetime object and  (sec: int, nsec: int)
 - add timestamp optional format to os.stat(), os.lstat(), os.fstat(), os.fstatat()
 - support passing the timestamp format as a keyword: time.time(format="decimal")

I am not really conviced by the usefulness of "timespec" format, but it was just an example for #11457.

The "datetime" format is surprising for time.clock() and time.wallclock(), these timestamps use an arbitrary start. I suppose that time.clock(format="datetime") and time.wallclock(format="datetime") should raise a ValueError.
History
Date User Action Args
2012-01-30 22:27:46vstinnersetrecipients: + vstinner, loewis, mark.dickinson, belopolsky, pitrou, eric.smith, Arfrever, skrah, Alexander.Belopolsky
2012-01-30 22:27:45vstinnersetmessageid: <1327962465.55.0.41108849259.issue13882@psf.upfronthosting.co.za>
2012-01-30 22:27:44vstinnerlinkissue13882 messages
2012-01-30 22:27:44vstinnercreate