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 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
History
Date User Action Args
2017年05月21日 18:09:33musically_utsetrecipients: + musically_ut, belopolsky, martin.panter, serhiy.storchaka
2017年05月21日 18:09:33musically_utsetmessageid: <1495390173.54.0.78793534433.issue30302@psf.upfronthosting.co.za>
2017年05月21日 18:09:33musically_utlinkissue30302 messages
2017年05月21日 18:09:33musically_utcreate

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