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 jdemeyer
Recipients bdkearns, belopolsky, jdemeyer, josh.r, lemburg, mark.dickinson, nanjekyejoannah, p-ganssle, tim.peters, vstinner
Date 2019-08-13.14:35:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
This is essentially a duplicate of #36048. The example is now deprecated:

>>> from decimal import Decimal
>>> from datetime import datetime
>>> datetime(Decimal("2000.5"), 1, 2)
<stdin>:1: DeprecationWarning: an integer is required (got type decimal.Decimal).  Implicit conversion to integers using __int__ is deprecated, and may be removed in a future version of Python.
datetime.datetime(2000, 1, 2, 0, 0)

So I think that this can be closed.
Date User Action Args
2019-08-13 14:35:36jdemeyersetrecipients: + jdemeyer, lemburg, tim.peters, mark.dickinson, belopolsky, vstinner, bdkearns, josh.r, p-ganssle, nanjekyejoannah
2019-08-13 14:35:36jdemeyersetmessageid: <>
2019-08-13 14:35:36jdemeyerlinkissue20861 messages
2019-08-13 14:35:36jdemeyercreate