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.

classification
Title: fix Sleep() overflow condition in time module
Type: Stage:
Components: None Versions:
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: fdrake Nosy List: fdrake, tim.peters, tmick
Priority: normal Keywords: patch

Created on 2000-06-07 03:07 by tmick, last changed 2022-04-10 16:02 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
None tmick, 2000-06-07 03:07 None
Messages (6)
msg32737 - (view) Author: Trent Mick (tmick) (Python triager) Date: 2000-06-07 03:07
 
msg32738 - (view) Author: Fred Drake (fdrake) (Python committer) Date: 2000-06-29 21:33
Checked in verbatim.
msg32739 - (view) Author: Tim Peters (tim.peters) * (Python committer) Date: 2000-06-28 06:54
Jeez -- it's embarrassing that a patch this obviously good has been sitting for so long.  My apologies -- but I'm still going to go to sleep rather than slog thru the others now <wink>.
Accepted & assigned back to Trent.
msg32740 - (view) Author: Tim Peters (tim.peters) * (Python committer) Date: 2000-06-28 06:57
Jeez -- it's embarrassing that a patch this obviously good has been sitting for so long.  My apologies -- but I'm still going to go to sleep rather than slog thru the others now <wink>.
Accepted & assigned back to Trent.
msg32741 - (view) Author: Trent Mick (tmick) (Python triager) Date: 2000-06-07 03:08
I confirm that, to the best of my knowledge and belief, this
contribution is free of any claims of third parties under
copyright, patent or other rights or interests ("claims").  To
the extent that I have any such claims, I hereby grant to CNRI a
nonexclusive, irrevocable, royalty-free, worldwide license to
reproduce, distribute, perform and/or display publicly, prepare
derivative versions, and otherwise use this contribution as part
of the Python software and its related documentation, or any
derivative versions thereof, at no cost to CNRI or its licensed
users, and to authorize others to do so.

I acknowledge that CNRI may, at its sole discretion, decide
whether or not to incorporate this contribution in the Python
software and its related documentation.  I further grant CNRI
permission to use my name and other identifying information
provided to CNRI by me for use in connection with the Python
software and its related documentation.
msg32742 - (view) Author: Trent Mick (tmick) (Python triager) Date: 2000-06-07 03:09
This patch fixes a possible overflow in the Sleep system call on Win32/64 in
the time_sleep() function in the time module. For very large values of the
give time to sleep the number of milliseconds can overflow and give
unexpected sleep intervals. THis patch raises an OverflowError if the value
overflows.

History
Date User Action Args
2022-04-10 16:02:00adminsetgithub: 32437
2000-06-07 03:07:34tmickcreate