Antoine Pitrou added the comment:

> I would prefer to reuse pytime.c conversion code which is well tested by 
> test_time. _PyTime_FromObject() already contains code to convert a double to 
> _PyTime_t, and _PyTime_AsTimeval() converts a _PyTime_t to timeval. Use 
> _PyTime_ROUND_CEILING as signal.sigtimedwait().

I don't understand how that works.  Can you post a snippet implementing what is 
needed here?

----------

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

Reply via email to