commit | 9a8089b32adee874caefbe2a96096998625c5a78 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Fri Mar 20 01:42:20 2015 +0100 |
committer | Victor Stinner <victor.stinner@gmail.com> | Fri Mar 20 01:42:20 2015 +0100 |
tree | bf91050cbe41ad7811a975acc3bab8ed4ee97c02 | |
parent | 4fa99cdb4c5f53d6fa86ef223ae613cb1a8783f8 [diff] |
Issue #23646: Enhance precision of time.sleep() and socket timeout when interrupted by a signal Add a new _PyTime_AddDouble() function and remove _PyTime_ADD_SECONDS() macro. The _PyTime_ADD_SECONDS only supported an integer number of seconds, the _PyTime_AddDouble() has subsecond resolution.