STINNER Victor added the comment:

2014-04-27 2:26 GMT+02:00 Shankar Unni <rep...@bugs.python.org>:
>> If you want to modify time.sleep(), you must be careful of the portability: 
>> Windows, Linux, but also Mac OS X, FreeBSD, Solaris, etc.
>
> Oh, I totally agree. What I'm trying to do is to define another autoconf flag 
> (HAVE_CLOCK_NANOSLEEP), that does a feature test and enable that flag, and 
> just use that if available.

I'm talking about the expected behaviour which can be found in the
documentation of the function:
https://docs.python.org/dev/library/time.html#time.sleep

----------

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

Reply via email to