79 Commits (49b2734bf12dc1cda80fd73d3ec8896ae3e362f2)

Author SHA1 Message Date
haney c90e960150 bpo-30183: Fixes HP-UX cc compilation error in pytime.c (#1351) 9 years ago
Alexander Belopolsky 3e7a3cb903 Issue #28148: Stop using localtime() and gmtime() in the time module. 9 years ago
Benjamin Peterson af580dff4a replace PY_LONG_LONG with long long 9 years ago
Benjamin Peterson ed4aa83ff7 require a long long data type (closes #27961) 9 years ago
Victor Stinner c379ade1bb pytime.c: rename pygettimeofday_new() to pygettimeofday() 10 years ago
Serhiy Storchaka fad85aadb0 Issue #25558: Use compile-time asserts. 10 years ago
Victor Stinner b7a8af20ff Fix _PyTime_AsTimevalStruct_impl() on OpenBSD 10 years ago
Victor Stinner c29f399e7e Backout change 28d3bcb1bad6: "Try to fix _PyTime_AsTimevalStruct_impl() on 10 years ago
Victor Stinner 2bfed53b88 Try to fix _PyTime_AsTimevalStruct_impl() on OpenBSD 10 years ago
Victor Stinner ec26f83f2e Issue #25155: Fix _PyTime_Divide() rounding 10 years ago
Victor Stinner 9a8b177e60 Issue #25155: Add _PyTime_AsTimevalTime_t() function 10 years ago
Victor Stinner 1e2b6882fc Issue #25155: Add _PyTime_AsTimevalTime_t() function 10 years ago
Victor Stinner 51b9398444 pytime: oops, fix typos on Windows 10 years ago
Victor Stinner c60542b12b pytime: add _PyTime_check_mul_overflow() macro to avoid undefined behaviour 10 years ago
Victor Stinner ff0ed3e71c New try to fix test_time.test_AsSecondsDouble() on x86 buildbots. 10 years ago
Victor Stinner 1efbebaac2 Try to fix test_time.test_AsSecondsDouble() on "x86 Gentoo Non-Debug with X 3.x" buildbot 10 years ago
Victor Stinner 9c72f9b30a Fix test_time on Windows 10 years ago
Victor Stinner 3e2c8d84c6 test_time: rewrite PyTime API rounding tests 10 years ago
Victor Stinner 9ae47dfbd9 pytime: add _PyTime_Round() helper to factorize code 10 years ago
Victor Stinner ce6aa749b4 Make _PyTime_RoundHalfEven() private again 10 years ago
Victor Stinner 7667f58151 Issue #23517: fromtimestamp() and utcfromtimestamp() methods of 10 years ago
Victor Stinner adfefa527a Issue #23517: Fix implementation of the ROUND_HALF_UP rounding mode in 10 years ago
Victor Stinner 5786aef382 Don't abuse volatile keyword in pytime.c 10 years ago
Victor Stinner 29ee6745af Enhance _PyTime_AsTimespec() 10 years ago
Victor Stinner 5ad5821d09 oops, rename pymonotonic_new() to pymonotonic() 10 years ago
Victor Stinner c3c616c3d1 Issue #24707: Remove assertion in monotonic clock 10 years ago
Victor Stinner 2ec558739e Issue #23517: datetime.timedelta constructor now rounds microseconds to nearest 10 years ago
Victor Stinner 24b822e21e Issue #23517: Try to fix test_time on "x86 Ubuntu Shared 3.x" buildbot 10 years ago
Victor Stinner 67edcc905d Issue #23517: Fix _PyTime_ObjectToDenominator() 10 years ago
Victor Stinner 744742320f Issue #23517: Add "half up" rounding mode to the _PyTime API 10 years ago
Victor Stinner bbdda21a7a Move assertion inside _PyTime_ObjectToTimeval() 10 years ago
Victor Stinner 53e137c8dd Refactor pytime.c 10 years ago
Victor Stinner 13019fdef3 Issue #22117: Add a new _PyTime_FromSeconds() function 11 years ago
Victor Stinner 62d1c70eff Issue #22117, issue #23485: Fix _PyTime_AsMilliseconds() and 11 years ago
Victor Stinner fa09beb150 Issue #23485: Add _PyTime_FromMillisecondsObject() function 11 years ago
Victor Stinner 45cff0c0e6 Issue #22117: Try to fix rounding in conversion from Python double to _PyTime_t 11 years ago
Victor Stinner a695f83f0d Issue #22117: Remove _PyTime_ROUND_DOWN and _PyTime_ROUND_UP rounding methods 11 years ago
Victor Stinner bcdd777d3c Issue #22117: Add _PyTime_ROUND_CEILING rounding method for timestamps 11 years ago
Victor Stinner edddf991d9 Issue #22117: Add assertions to _PyTime_AsTimeval() and _PyTime_AsTimespec() to 11 years ago
Victor Stinner ea9c0dd2c2 Issue #22117: Fix usage of _PyTime_AsTimeval() 11 years ago
Victor Stinner f81f0f9c63 Issue #22117: Fix rounding and implement _PyTime_ROUND_FLOOR in: 11 years ago
Victor Stinner 1bd18ba9a7 Issue #22117: Cleanup pytime.c/.h 11 years ago
Victor Stinner 09e5cf28ae Issue #22117: Use the _PyTime_t API in _datetime.datetime() constructor 11 years ago
Victor Stinner cb0c60258b Issue #22117: Fix _PyTime_GetMonotonicClock() and 11 years ago
Victor Stinner 02937aab13 Issue #22117: Add the new _PyTime_ROUND_FLOOR rounding method for the datetime 11 years ago
Victor Stinner b3b4544070 Issue #22117: Use the _PyTime_t API for time.clock_settime() 11 years ago
Victor Stinner c337838af7 Issue #22117: Use the new _PyTime_t API in the select module 11 years ago
Victor Stinner f5faad2bf0 Issue #22117: The thread module uses the new _PyTime_t timestamp API 11 years ago
Victor Stinner 95e9cef6f0 Issue #22117: Write unit tests for _PyTime_AsTimeval() 11 years ago
Victor Stinner 34dc0f46ae Issue #22117: The signal modules uses the new _PyTime_t API 11 years ago