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 graingert
Recipients graingert, vstinner
Date 2020-01-09.14:43:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1578581025.66.0.18478821427.issue39277@roundup.psfhosted.org>
In-reply-to
Content
_PyTime_FromDouble() fails to detect an integer overflow when converting a C double to a C int64_t

Python 3.7.5 (default, Nov 20 2019, 09:21:52) 
[GCC 9.2.1 20191008] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import time
>>> time.sleep(9223372036.854777)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: sleep length must be non-negative
History
Date User Action Args
2020-01-09 14:43:45graingertsetrecipients: + graingert, vstinner
2020-01-09 14:43:45graingertsetmessageid: <1578581025.66.0.18478821427.issue39277@roundup.psfhosted.org>
2020-01-09 14:43:45graingertlinkissue39277 messages
2020-01-09 14:43:45graingertcreate