Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[3.13] gh-120683: Fix an error in logging.LogRecord timestamp (GH-120709)#120933

Merged
serhiy-storchaka merged 1 commit into
python:3.13python/cpython:3.13from
miss-islington:backport-1500a23-3.13miss-islington/cpython:backport-1500a23-3.13Copy head branch name to clipboard
Jun 24, 2024
Merged

[3.13] gh-120683: Fix an error in logging.LogRecord timestamp (GH-120709)#120933
serhiy-storchaka merged 1 commit into
python:3.13python/cpython:3.13from
miss-islington:backport-1500a23-3.13miss-islington/cpython:backport-1500a23-3.13Copy head branch name to clipboard

Conversation

@miss-islington

@miss-islington miss-islington commented Jun 24, 2024

Copy link
Copy Markdown
Contributor

The integer part of the timestamp can be rounded up, while the millisecond
calculation truncates, causing the log timestamp to be wrong by up to 999 ms
(affected roughly 1 in 8 million timestamps).
(cherry picked from commit 1500a23)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com

…H-120709)

The integer part of the timestamp can be rounded up, while the millisecond
calculation truncates, causing the log timestamp to be wrong by up to 999 ms
(affected roughly 1 in 8 million timestamps).
(cherry picked from commit 1500a23)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
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.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.