94 Commits (46874c26ee1fc752e2e6930efa1d223b2351edb8)

Author SHA1 Message Date
Benjamin Peterson f1c19031fd bpo-38068: Clean up gettimeofday configure logic. (GH-15775) 6 years ago
Victor Stinner 8709490f48
bpo-34373: Fix time.mktime() on AIX (GH-12726) 7 years ago
Michael Felt e2926b7248 bpo-34373: fix test_mktime and test_pthread_getcpuclickid tests on AIX (GH-8726) 7 years ago
luzpaz a5293b4ff2 Fix miscellaneous typos (#4275) 8 years ago
Victor Stinner c29b585fd4
bpo-31784: Implement PEP 564: add time.time_ns() (#3989) 8 years ago
Pablo Galindo 2c15b29aea bpo-31786: Make functions in the select module blocking when timeout is a small negative value. (#4003) 8 years ago
Victor Stinner bdaeb7d237 bpo-31773: _PyTime_GetPerfCounter() uses _PyTime_t (GH-3983) 8 years ago
Victor Stinner cba9a0c6de bpo-31773: time.perf_counter() uses again double (GH-3964) 8 years ago
Victor Stinner 277c84067f Cleanup pytime.c (#3955) 8 years ago
Victor Stinner a997c7b434 bpo-31415: Add _PyTime_GetPerfCounter() and use it for -X importtime (#3936) 8 years ago
Barry Warsaw b2e5794870 bpo-31338 (#3374) 8 years ago
Han Lee 829dacce4f bpo-26669: Fix nan arg value error in pytime.c (#3085) 8 years ago
Benjamin Peterson a853a8ba78 bpo-31373: fix undefined floating-point demotions (#3396) 8 years ago
Antoine Pitrou bcaac8188b Revert "pytime: include winsock2, so we can have a complete timeval type (#3377)" (#3383) 8 years ago
Benjamin Peterson 833860615b pytime: include winsock2, so we can have a complete timeval type (#3377) 8 years ago
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