Message75903
| Author |
vstinner |
| Recipients |
Neil Muller, belopolsky, davidfraser, hodgestar, tebeka, vstinner, werneck |
| Date |
2008年11月15日.01:37:39 |
| SpamBayes Score |
8.436015e-05 |
| Marked as misclassified |
No |
| Message-id |
<200811150236.34185.victor.stinner@haypocalc.com> |
| In-reply-to |
<1226711729.86.0.312684878446.issue2736@psf.upfronthosting.co.za> |
| Content |
Le Saturday 15 November 2008 02:15:30 Alexander Belopolsky, vous avez écrit :
> I don't think changing fromtimestamp behavior is an option.
It's too late to break the API (Python3 is in RC stage ;-)), but we can create
new methods like:
datetime.fromepoch(seconds, microseconds=0) # (int/long, int)
datetime.toepoch() -> (seconds, microseconds) # (int/long, int) |
|