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 BreamoreBoy, aconrad, belopolsky, larry, mark.dickinson, python-dev, r.david.murray, tbarbugli, tim.peters, trcarden, vivanov, vstinner
Date 2015-09-07.13:38:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1441633127.33.0.937029526786.issue23517@psf.upfronthosting.co.za>
In-reply-to
Content
Victor> please don't revert this change.

I did not suggest reverting the entire commit.  The change that affects fromdatetime() is just

-        us = round(frac * 1e6)
+        us = int(frac * 1e6)

in datetime.py.  It is probably more involved in _datetimemodule.c, but cannot be that bad.  You can still keep pytime.c/.h.
History
Date User Action Args
2015-09-07 13:38:47belopolskysetrecipients: + belopolsky, tim.peters, mark.dickinson, vstinner, larry, r.david.murray, aconrad, BreamoreBoy, vivanov, python-dev, tbarbugli, trcarden
2015-09-07 13:38:47belopolskysetmessageid: <1441633127.33.0.937029526786.issue23517@psf.upfronthosting.co.za>
2015-09-07 13:38:47belopolskylinkissue23517 messages
2015-09-07 13:38:47belopolskycreate