]> granicus.if.org Git - python/commit
Trent Mick <trentm@activestate.com>:
authorFred Drake <fdrake@acm.org>
Thu, 29 Jun 2000 21:31:02 +0000 (21:31 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 29 Jun 2000 21:31:02 +0000 (21:31 +0000)
commit0e12395190a54ce91fdc37593601f481cfcf3e70
treebf2d3260ad661e1fc0b13647a4a581151ece4b1b
parent699f352fb220d2e37247144081f7a11cc1dc365d
Trent Mick <trentm@activestate.com>:
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.

Closes SourceForge patch #100514.
Modules/timemodule.c