Message294106
| Author |
musically_ut |
| Recipients |
belopolsky, martin.panter, musically_ut, serhiy.storchaka |
| Date |
2017年05月21日.18:09:33 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1495390173.54.0.78793534433.issue30302@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
So we are okay with
datetime.timedelta(minutes=-1)
# -datetime.timedelta(seconds=60)
and
datetime.timedelta(minutes=-1).seconds
# 86340
datetime.timedelta(minutes=-1).days
# -1
?
Perhaps I'm reading this incorrectly:
"If the repr() shows different numbers than the attributes things are worse than now." ~ Guido, https://marc.info/?l=python-dev&m=145066934224955&w=2
Maybe he was only talking about:
datetime.timedelta(minutes=-1)
# datetime.timedelta(minutes=-1)
but I would like a second opinion on it. :)
Also, I'll just drop the description of .repr from the .RST documentation because it is not to be relied on anyway. Any objections to that?
~
ut |
|