summaryrefslogtreecommitdiffstats
path: root/Doc/library/time.rst
Commit message (Collapse)AuthorAgeFilesLines
* Issue #23646: If time.sleep() is interrupted by a signal, the sleep is nowVictor Stinner2015-03-191-0/+5
| | | | | | | retried with the recomputed delay, except if the signal handler raises an exception (PEP 475). Modify also test_signal to use a monotonic clock instead of the system clock.
* Revert changeset d927047b1d8eb87738676980a24930d053ba2150Victor Stinner2015-03-171-4/+0
| | | | Sorry, it was a mistake, the patch is still under review: issue #23646.
* testVictor Stinner2015-03-121-0/+4
|
* Merge: #23215: note that time.sleep affects the current thread only.R David Murray2015-01-251-6/+7
|\
| * #23215: reflow paragraph.R David Murray2015-01-251-6/+6
| |
| * #23251: Note that time.sleep affects the calling thread only.R David Murray2015-01-251-1/+2
| | | | | | | | This change parallels the language used in the unix man page.
* | merge with 3.4Georg Brandl2014-10-281-2/+1
|\ \ | |/
| * Closes #22749: remove outdated advice to use clock() for accurate timing.Georg Brandl2014-10-281-2/+1
| |
* | Issue #22043: time.monotonic() is now always availableVictor Stinner2014-09-021-2/+2
|/ | | | | threading.Lock.acquire(), threading.RLock.acquire() and socket operations now use a monotonic clock, instead of the system clock, when a timeout is used.
* Issue #18758: Fixed and improved cross-references.Serhiy Storchaka2013-10-131-2/+2
|
* Refer to strftime(3) manpage for platform specific format codes.Georg Brandl2013-10-131-2/+4
| | | | Suggested by Skip Montanaro on docs@.
* Issue #15940: Replace tab.Terry Jan Reedy2013-04-031-1/+1
|
* Issue #15940: Specify effect of locale on time functions.Terry Jan Reedy2013-04-031-2/+2
|
* Fix typo noticed by Tom Lynn.Ezio Melotti2012-11-051-1/+1
|
* Fix typo in documentation for time module, thanks to docs@Andrew Svetlov2012-10-041-1/+1
|
* Fix a couple of versionadded/versionchanged related markup errors.Georg Brandl2012-06-241-8/+5
|
* Issue #9527: tm_gmtoff has 'correct' sign.Alexander Belopolsky2012-06-221-1/+1
|
* Issue #1667546: On platforms supporting tm_zone and tm_gmtoff fieldsAlexander Belopolsky2012-06-141-2/+21
| | | | | | in struct tm, time.struct_time objects returned by time.gmtime(), time.localtime() and time.strptime() functions now have tm_zone and tm_gmtoff attributes. Original patch by Paul Boddie.
* PEP 418: Rename adjusted attribute to adjustable in time.get_clock_info() resultVictor Stinner2012-06-121-2/+2
| | | | | | | | Fix also its value on Windows and Linux according to its documentation: "adjustable" indicates if the clock *can be* adjusted, not if it is or was adjusted. In most cases, it is not possible to indicate if a clock is or was adjusted.
* time.get_clock_info() uses a namespace instead of structseqVictor Stinner2012-06-121-25/+11
|
* Fix time.time() references in the time module docsPetri Lehtinen2012-05-181-6/+6
|\ | | | | | | Closes #14842.
| * Fix time.time() references in the time module docsPetri Lehtinen2012-05-181-6/+6
| | | | | | | | Closes #14842.
* | strip is_ prefixes on clock_info fieldsBenjamin Peterson2012-05-011-2/+2
| |
* | Review of doc changes re PEP 418.Georg Brandl2012-04-301-35/+35
| |
* | Close #14309: Deprecate time.clock()Victor Stinner2012-04-291-0/+5
| | | | | | | | Use time.perf_counter() or time.process_time() instead.
* | Issue #14428, #14397: Implement the PEP 418Victor Stinner2012-04-291-11/+74
| | | | | | | | | | | | | | | | | | * Rename time.steady() to time.monotonic() * On Windows, time.monotonic() uses GetTickCount/GetTickCount64() instead of QueryPerformanceCounter() * time.monotonic() uses CLOCK_HIGHRES if available * Add time.get_clock_info(), time.perf_counter() and time.process_time() functions
* | Time doc: documentation that the CLOCK_* constants and clock_*() functions areVictor Stinner2012-04-281-0/+16
| | | | | | | | not always available.
* | Doc: sort time.CLOCK_xxx constantsVictor Stinner2012-04-121-8/+8
| |
* | Expose clock_settime() as time.clock_settime()Victor Stinner2012-04-021-0/+7
| |
* | Add time.CLOCK_HIGHRES constant, needed on SolarisVictor Stinner2012-04-021-0/+9
| |
* | Fix newlines.Georg Brandl2012-03-291-0/+7
| |
* | time.steady() doc: don't repeat the default valueVictor Stinner2012-03-191-1/+1
| |
* | Merge #12758: removing confusing mention of UTC from time.time descriptionR David Murray2012-03-151-2/+2
|\ \ | |/ | | | | | | | | Patch by Dylan Sarber. (Not sure why hg told me it merged pyexpat.c too, it showed no changes)
| * #12758: removing confusing mention of UTC from time.time descriptionR David Murray2012-03-151-2/+2
| | | | | | | | Patch by Dylan Sarber.
* | Issue #10278: Add an optional strict argument to time.steady(), False by defaultVictor Stinner2012-03-151-1/+6
| |
* | Issue #10278: Drop time.monotonic() function, rename time.wallclock() to ↵Victor Stinner2012-03-141-18/+8
| | | | | | | | | | | | | | | | | | time.steady() * On Mac OS X, time.steady() now uses mach_absolute_time(), a monotonic clock * Optimistic change: bet that CLOCK_MONOTONIC and CLOCK_REALTIME are available when clock_gettime() is available * Rewrite time.steady() documentation
* | Issue #13846: Enhance time.monotonic() documentationVictor Stinner2012-02-231-2/+3
| |
* | Time module doc: Fix reST syntaxVictor Stinner2012-02-141-2/+2
| |
* | Backout f8409b3d6449: the PEP 410 is not accepted yetVictor Stinner2012-02-081-40/+10
| |
* | PEP 410Victor Stinner2012-02-081-10/+40
| |
* | Issue #13846: Add time.monotonic(), monotonic clock.Victor Stinner2012-02-071-0/+8
| |
* | Fix small grammatical inconsistency.Georg Brandl2012-02-021-1/+2
| |
* | Sort functions in the doc of the time moduleVictor Stinner2012-01-241-13/+14
| | | | | | | | Move wallclock() at the end.
* | Close #10278: Add time.wallclock() function, monotonic clock.Victor Stinner2012-01-181-0/+12
| |
* | Close #10278: Add clock_getres(), clock_gettime() and CLOCK_xxx constants toVictor Stinner2011-10-251-0/+48
| | | | | | | | | | the time module. time.clock_gettime(time.CLOCK_MONOTONIC) provides a monotonic clock
* | merge with 3.2Sandro Tosi2011-08-191-2/+2
|\ \ | |/
| * mention RFC1123 as origin of 4-year digit; thanks to John Haxby from docs@Sandro Tosi2011-08-191-2/+2
| |
* | Issue #11930: Remove deprecated time.accept2dyear.Alexander Belopolsky2011-05-021-46/+2
|/
* Issue #2568: Removed bogus rationale for supporting tm_sec=61.Alexander Belopolsky2011-01-101-3/+10
|
* Fixed a footnote referenceAlexander Belopolsky2011-01-101-1/+1
|