Kristján Valur Jónsson added the comment:

Tim, how about changing the variable to "unsigned long"?  I'd like the 
signature of the function to be the same for all platforms.

This will change the code and allow waits for up to 4000 seconds.

There is still an overflow problem present, though.+

David, in general the maximum wait times of these primitives are platform 
specific.  If you don't want any ceiling, then we would have to add code all 
over the place (in C) to do looping timeouts.  Not sure which is better, to do 
it in c, or to accept in python that waits may timeout earlier than specified.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20737>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to