Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-39277, pytime: Fix overflow check on double to int cast #17933

Open
wants to merge 1 commit into
base: master
from

Conversation

@vstinner
Copy link
Member

vstinner commented Jan 10, 2020

Fix time.sleep() to properly detect integer overflow when converting
a floating-point number of seconds to an integer.

https://bugs.python.org/issue39277

Fix time.sleep() to properly detect integer overflow when converting
a floating-point number of seconds to an integer.
@vstinner

This comment has been minimized.

Copy link
Member Author

vstinner commented Jan 11, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.