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 belopolsky
Recipients belopolsky, georg.brandl, mark.dickinson, tim.peters
Date 2010-06-24.18:02:05
SpamBayes Score 0.0039573014
Marked as misclassified No
Message-id <1277402527.75.0.74418180311.issue9070@psf.upfronthosting.co.za>
In-reply-to
Content
In the trunk:

>>> datetime.utcfromtimestamp(0.9999994)
datetime.datetime(1970, 1, 1, 0, 0, 1)

In py3k:

>>> datetime.utcfromtimestamp(0.9999994)
datetime.datetime(1970, 1, 1, 0, 0, 0, 999999)


See issue1478429 - it appears that rounding up was intentional, but I am adding 2.7 because py3k behavior seems to be more natural.
History
Date User Action Args
2010-06-24 18:02:07belopolskysetrecipients: + belopolsky, tim.peters, georg.brandl, mark.dickinson
2010-06-24 18:02:07belopolskysetmessageid: <1277402527.75.0.74418180311.issue9070@psf.upfronthosting.co.za>
2010-06-24 18:02:05belopolskylinkissue9070 messages
2010-06-24 18:02:05belopolskycreate