346 Commits (7dfbd4967121ef6ecabe3fd53a430fd949f405fd)

Author SHA1 Message Date
Zackery Spytz 91e6c8717b bpo-34735: Fix a memory leak in Modules/timemodule.c (GH-9418) 8 years ago
Benjamin Peterson c510c6b8b6
Simplify PyInit_timezone. (GH-9467) 8 years ago
Victor Stinner 1fb399ba4e
bpo-34715: Revert "Simplify PyInit_timezone. (GH-9323)" (GH-9366) 8 years ago
Benjamin Peterson afde1c1a05
Simplify PyInit_timezone. (GH-9323) 8 years ago
Benjamin Peterson b93062b7fb
bpo-34672: Don't pass NULL to gmtime_r. (GH-9312) 8 years ago
Benjamin Peterson 5633c4f342
bpo-34672: Try to pass the C library's own timezone strings back to it. (GH-9288) 8 years ago
Gregory P. Smith 76be0fffff
bpo-13312: Avoid int underflow in time year. (GH-8912) 8 years ago
Serhiy Storchaka bfe4fd5f2e
Fix some warnings produced by different compilers. (#5593) 8 years ago
Victor Stinner 7ed7aead95
bpo-29240: Fix locale encodings in UTF-8 Mode (#5170) 9 years ago
Victor Stinner cb3ae5588b
bpo-29240: Ignore UTF-8 Mode in time module (#5148) 9 years ago
Antoine Pitrou 4bd41c9b52
bpo-32025: Add time.thread_time() (#4410) 9 years ago
Victor Stinner c29b585fd4
bpo-31784: Implement PEP 564: add time.time_ns() (#3989) 9 years ago
Victor Stinner a64ce973a3
bpo-31917: Add 3 new clock identifiers (#4207) 9 years ago
Pablo Galindo 59af94fa61 bpo-31806: Use _PyTime_ROUND_TIMEOUT for the timeout argument parsing in more functions (#4026) 9 years ago
Victor Stinner 884d13a55f time.clock() now emits a DeprecationWarning (GH-4020) 9 years ago
Victor Stinner bdaeb7d237 bpo-31773: _PyTime_GetPerfCounter() uses _PyTime_t (GH-3983) 9 years ago
Victor Stinner cba9a0c6de bpo-31773: time.perf_counter() uses again double (GH-3964) 9 years ago
Cheryl Sabella 703ff381ff bpo-28157: Improvements for the time module documentation (GH-928) 9 years ago
Victor Stinner a997c7b434 bpo-31415: Add _PyTime_GetPerfCounter() and use it for -X importtime (#3936) 9 years ago
pdox e14679c784 closes bpo-31596: Add an interface for pthread_getcpuclockid(3) (#3756) 9 years ago
Oren Milman 1d1d3e9db8 bpo-28261: Fixed err msgs where PyArg_ParseTuple is used to parse normal tuples. (#3119) 9 years ago
Victor Stinner 6e676954de timemodule.c: Cast PyUnicode_AsUTF8() to char* (#1294) 9 years ago
Victor Stinner 0d659e5614 tmtotuple(): use time_t for gmtoff (#1276) 9 years ago
Victor Stinner 8f5cdfa9fc Only define get_zone() and get_gmtoff() if needed (#1193) 9 years ago
Serhiy Storchaka 228b12edcc Issue #28999: Use Py_RETURN_NONE, Py_RETURN_TRUE and Py_RETURN_FALSE wherever 9 years ago
Steve Dower c3c6f71662 Fixes maximum usable length of buffer for formatting time zone in localtime(). 10 years ago
Victor Stinner dbe28d26b4 time_strptime() uses PyObject_Call() 10 years ago
Serhiy Storchaka 06515833fe Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSize 10 years ago
Alexander Belopolsky 3e7a3cb903 Issue #28148: Stop using localtime() and gmtime() in the time module. 10 years ago
Benjamin Peterson 37098cd584 more granular configure checks for clock_* functions (closes #28081) 10 years ago
Alexander Belopolsky 18f3a9b93c Closes #25283: Make tm_gmtoff and tm_zone available on all platforms. 10 years ago
Victor Stinner 53e22bfea5 Issue #22624: Python 3 requires clock() to build 10 years ago
Serhiy Storchaka ef1585eb9a Issue #25923: Added more const qualifiers to signatures of static and private functions. 11 years ago
Serhiy Storchaka 2d06e84455 Issue #25923: Added the const qualifier to static constant arrays. 11 years ago
Steve Dower 57ab1cdb15 Issue #25092: Fix datetime.strftime() failure when errno was already set to EINVAL. 11 years ago
Steve Dower 97cded934f Issue #25029: MemoryError in test_strptime 11 years ago
Steve Dower aa2fcc6b35 Issue #24917: time_strftime() buffer over-read. 11 years ago
Steve Dower e5b5895b5b Issue #24917: time_strftime() buffer over-read. 11 years ago
Larry Hastings 62b24624dd Backing out 09b62202d9b7; the tests fail on Linux, and it needs a re-think. 11 years ago
Steve Dower ef920d6d5e Backed out changeset: a29b49d57769 11 years ago
Steve Dower 0fba9b324f Issue #24917: time_strftime() Buffer Over-read. Patch by John Leitch. 11 years ago
Steve Dower 373602fa3f Issue #24917: time_strftime() Buffer Over-read. Patch by John Leitch. 11 years ago
Steve Dower d9ef74e3dd Issue 24244: Prevents termination when an invalid format string is encountered on Windows. 11 years ago
Victor Stinner 6aa446cf03 PEP 475: on EINTR, retry the function even if the timeout is equals to zero 11 years ago
Victor Stinner 869e1778c0 Issue #22117: Replace usage of _PyTime_ROUND_UP with _PyTime_ROUND_CEILING 11 years ago
Victor Stinner ea9c0dd2c2 Issue #22117: Fix usage of _PyTime_AsTimeval() 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 95e9cef6f0 Issue #22117: Write unit tests for _PyTime_AsTimeval() 11 years ago
Victor Stinner a47b881d86 Issue #22117: time.time() now uses the new _PyTime_t API 11 years ago