Message359682
_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 |
|
Date |
User |
Action |
Args |
2020-01-09 14:43:45 | graingert | set | recipients:
+ graingert, vstinner |
2020-01-09 14:43:45 | graingert | set | messageid: <1578581025.66.0.18478821427.issue39277@roundup.psfhosted.org> |
2020-01-09 14:43:45 | graingert | link | issue39277 messages |
2020-01-09 14:43:45 | graingert | create | |
|