◐ Shell
reader mode source ↗
Skip to content

bpo-29026: Clarify documentation of time.time#34

Merged
vstinner merged 3 commits into
python:masterfrom
appeltel:29026-time-docs-utc
Feb 16, 2017
Merged

bpo-29026: Clarify documentation of time.time#34
vstinner merged 3 commits into
python:masterfrom
appeltel:29026-time-docs-utc

Conversation

@appeltel

Copy link
Copy Markdown
Contributor

Clarify the documentation of time.time by more
precisely defining what is meant by "seconds since
the epoch" on most platforms. Additionally explain
how gmtime and localtime may be used to extract
calendar components and convert to a more common
date format.

@Haypo

https://bugs.python.org/issue29026

Clarify the documentation of time.time by more
precisely defining what is meant by "seconds since
the epoch" on most platforms. Additionally explain
how gmtime and localtime may be used to extract
calendar components and convert to a more common
date format.
@vstinner

Copy link
Copy Markdown
Member

Thank you for the new doc. It contains more info on timezone (UTC) and leap seconds (excluded).

@vstinner vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hide comment

Sorry, I saw a few more minor issues.

@codecov

codecov Bot commented Feb 14, 2017

Copy link
Copy Markdown

Codecov Report

Merging #34 into master will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #34      +/-   ##
==========================================
+ Coverage   82.37%   82.38%   +0.01%     
==========================================
  Files        1427     1428       +1     
  Lines      350948   351138     +190     
==========================================
+ Hits       289088   289294     +206     
+ Misses      61860    61844      -16

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e7ffb99...263a4f4. Read the comment docs.

@vstinner vstinner merged commit 23557d5 into python:master Feb 16, 2017
@vstinner

Copy link
Copy Markdown
Member

Thanks! I merged the PR.

Mariatta referenced this pull request in Mariatta/cpython Mar 3, 2017
* bpo-29026: Clarity documentation of time.time

Clarify the documentation of time.time by more
precisely defining what is meant by "seconds since
the epoch" on most platforms. Additionally explain
how gmtime and localtime may be used to extract
calendar components and convert to a more common
date format.

* bpo-29026: Minor improvements for time.time doc

* bpo-29026: Consistency fixes for time.time doc

(cherry picked from commit 23557d5)
Mariatta referenced this pull request in Mariatta/cpython Mar 3, 2017
* bpo-29026: Clarity documentation of time.time

Clarify the documentation of time.time by more
precisely defining what is meant by "seconds since
the epoch" on most platforms. Additionally explain
how gmtime and localtime may be used to extract
calendar components and convert to a more common
date format.

* bpo-29026: Minor improvements for time.time doc

* bpo-29026: Consistency fixes for time.time doc

(cherry picked from commit 23557d5)
Mariatta added a commit that referenced this pull request Mar 3, 2017
Mariatta added a commit that referenced this pull request Mar 3, 2017
tiran pushed a commit to tiran/cpython that referenced this pull request Aug 21, 2022
munmap pages on shutdown, keep FILE open
jaraco pushed a commit that referenced this pull request Dec 2, 2022
jaraco pushed a commit to jaraco/cpython that referenced this pull request Feb 17, 2023
oraluben pushed a commit to oraluben/cpython that referenced this pull request Jun 25, 2023
* fix: mark interpreter frames as tier 2 or not

* Test: Added tests for python#33

---------

Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
66 hidden items Load more…
nanjekyejoannah pushed a commit to nanjekyejoannah/cpython that referenced this pull request Feb 20, 2024
…h_recent_assumptions

Warn for string cmp with new string warning assumptions
picnixz added a commit to picnixz/cpython that referenced this pull request Dec 8, 2025
* fix missing `PyLazyImport_CheckExact`

* fix missing lazy-related symbols

* fix missing lazy-related symbols

* `extern` seems enough

* Export _PyImport_LoadLazyImportTstate for JIT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants