summaryrefslogtreecommitdiffstats
path: root/Doc/library/time.rst
Commit message (Collapse)AuthorAgeFilesLines
* bpo-29026: Clarify documentation of time.time (GH-34) (GH-417)Mariatta2017-03-031-7/+35
| | | (cherry picked from commit 23557d59b819f57800ddef0b1373acef8e024670)
* Closes #25283: Make tm_gmtoff and tm_zone available on all platforms.Alexander Belopolsky2016-09-121-4/+4
|
* Merge Issue #22558.Terry Jan Reedy2016-06-111-0/+1
|\
| * Issue #22558: Add remaining doc links to source code for Python-coded modules.Terry Jan Reedy2016-06-111-0/+1
| | | | | | | | | | Reformat header above separator line (added if missing) to a common format. Patch by Yoni Lavi.
* | merge from 3.5Senthil Kumaran2016-01-031-3/+5
|\ \ | |/ | | | | | | | | | | Issue21221 - Explain the usage of tm_isdst attribute of mktime, with valid values and meaning. Patch contributed by Andrew Scheller.
| * merge from 3.4Senthil Kumaran2016-01-031-3/+5
| |\ | | | | | | | | | | | | | | | | | | Issue21221 - Explain the usage of tm_isdst attribute of mktime, with valid values and meaning. Patch contributed by Andrew Scheller.
| | * Issue21221 - Explain the usage of tm_isdst attribute of mktime, with validSenthil Kumaran2016-01-031-3/+5
| | | | | | | | | | | | | | | | | | values and meaning. Patch contributed by Andrew Scheller.
* | | Fixed typos in TZ format descriptionAlexander Belopolsky2015-08-281-2/+2
|/ /
* | 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
| |