René's URL Explorer Experiment


Title: Fix Timestamp.from_datetime returning wrong value for pre-epoch datetimes by bysiber · Pull Request #662 · msgpack/msgpack-python · GitHub

Open Graph Title: Fix Timestamp.from_datetime returning wrong value for pre-epoch datetimes by bysiber · Pull Request #662 · msgpack/msgpack-python

X Title: Fix Timestamp.from_datetime returning wrong value for pre-epoch datetimes by bysiber · Pull Request #662 · msgpack/msgpack-python

Description: MessagePack serializer implementation for Python msgpack.org[Python] - Fix Timestamp.from_datetime returning wrong value for pre-epoch datetimes by bysiber · Pull Request #662 · msgpack/msgpack-python

Open Graph Description: Timestamp.from_datetime() uses int(dt.timestamp()) to compute the seconds component, but int() truncates towards zero. For pre-epoch datetimes with non-zero microseconds, this produces the wrong va...

X Description: Timestamp.from_datetime() uses int(dt.timestamp()) to compute the seconds component, but int() truncates towards zero. For pre-epoch datetimes with non-zero microseconds, this produces the wrong va...

Opengraph URL: https://github.com/msgpack/msgpack-python/pull/662

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:4d320005-6388-b1ce-a167-e8286c0c9008
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBFB6:4C357:C3EA26:1123824:6A4E8E1A
html-safe-noncee80cd142cffc2f989cb008c23ac00bb897207e8792a20d9dc27707f4efedb29f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRkI2OjRDMzU3OkMzRUEyNjoxMTIzODI0OjZBNEU4RTFBIiwidmlzaXRvcl9pZCI6IjMwMjA2MTcwODE5MTk4MDI5MDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaca7c04590ebc87d46279dba01070299e58003e0a6e8dde7372ee67c9cdcce70b4
hovercard-subject-tagpull_request:3307600937
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/msgpack/msgpack-python/662/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/46e29d1e40cc67054c1da42b9ae1fc0363a1f8a9c5246fdbe339dffcbd40867d/msgpack/msgpack-python/pull/662
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/46e29d1e40cc67054c1da42b9ae1fc0363a1f8a9c5246fdbe339dffcbd40867d/msgpack/msgpack-python/pull/662
og:image:altTimestamp.from_datetime() uses int(dt.timestamp()) to compute the seconds component, but int() truncates towards zero. For pre-epoch datetimes with non-zero microseconds, this produces the wrong va...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebysiber
hostnamegithub.com
expected-hostnamegithub.com
None41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c
turbo-cache-controlno-cache
go-importgithub.com/msgpack/msgpack-python git https://github.com/msgpack/msgpack-python.git
octolytics-dimension-user_id198264
octolytics-dimension-user_loginmsgpack
octolytics-dimension-repository_id2242705
octolytics-dimension-repository_nwomsgpack/msgpack-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id2242705
octolytics-dimension-repository_network_root_nwomsgpack/msgpack-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasee6a744804e8e70f97b4d5a18a94dcc63db22f97a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/msgpack/msgpack-python/pull/662#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmsgpack%2Fmsgpack-python%2Fpull%2F662
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmsgpack%2Fmsgpack-python%2Fpull%2F662
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=msgpack%2Fmsgpack-python
Reloadhttps://github.com/msgpack/msgpack-python/pull/662
Reloadhttps://github.com/msgpack/msgpack-python/pull/662
Reloadhttps://github.com/msgpack/msgpack-python/pull/662
Please reload this pagehttps://github.com/msgpack/msgpack-python/pull/662
msgpack https://github.com/msgpack
msgpack-pythonhttps://github.com/msgpack/msgpack-python
Notifications https://github.com/login?return_to=%2Fmsgpack%2Fmsgpack-python
Fork 248 https://github.com/login?return_to=%2Fmsgpack%2Fmsgpack-python
Star 2.1k https://github.com/login?return_to=%2Fmsgpack%2Fmsgpack-python
Code https://github.com/msgpack/msgpack-python
Issues 3 https://github.com/msgpack/msgpack-python/issues
Pull requests 4 https://github.com/msgpack/msgpack-python/pulls
Discussions https://github.com/msgpack/msgpack-python/discussions
Actions https://github.com/msgpack/msgpack-python/actions
Security and quality 1 https://github.com/msgpack/msgpack-python/security
Insights https://github.com/msgpack/msgpack-python/pulse
Code https://github.com/msgpack/msgpack-python
Issues https://github.com/msgpack/msgpack-python/issues
Pull requests https://github.com/msgpack/msgpack-python/pulls
Discussions https://github.com/msgpack/msgpack-python/discussions
Actions https://github.com/msgpack/msgpack-python/actions
Security and quality https://github.com/msgpack/msgpack-python/security
Insights https://github.com/msgpack/msgpack-python/pulse
methanehttps://github.com/methane
msgpack:mainhttps://github.com/msgpack/msgpack-python/tree/main
bysiber:fix/timestamp-from-datetime-pre-epochhttps://github.com/bysiber/msgpack-python/tree/fix/timestamp-from-datetime-pre-epoch
Conversationhttps://github.com/msgpack/msgpack-python/pull/662
Commits2 (2)https://github.com/msgpack/msgpack-python/pull/662/commits
Checkshttps://github.com/msgpack/msgpack-python/pull/662/checks
Files changedhttps://github.com/msgpack/msgpack-python/pull/662/files
Fix Timestamp.from_datetime returning wrong value for pre-epoch datetimeshttps://github.com/msgpack/msgpack-python/pull/662#top
methanehttps://github.com/methane
msgpack:mainhttps://github.com/msgpack/msgpack-python/tree/main
bysiber:fix/timestamp-from-datetime-pre-epochhttps://github.com/bysiber/msgpack-python/tree/fix/timestamp-from-datetime-pre-epoch
https://github.com/bysiber
bysiberhttps://github.com/bysiber
Feb 20, 2026https://github.com/msgpack/msgpack-python/pull/662#issue-3968210084
Please reload this pagehttps://github.com/msgpack/msgpack-python/pull/662
https://github.com/bysiber
Fix Timestamp.from_datetime returning wrong value for pre-epoch timeshttps://github.com/msgpack/msgpack-python/pull/662/commits/4ea42eba4d73ff448fd81edf438e38d33d00db57
4ea42ebhttps://github.com/msgpack/msgpack-python/pull/662/commits/4ea42eba4d73ff448fd81edf438e38d33d00db57
https://github.com/methane
methanehttps://github.com/methane
Feb 24, 2026 https://github.com/msgpack/msgpack-python/pull/662#pullrequestreview-3846395936
View reviewed changes https://github.com/msgpack/msgpack-python/pull/662/files/4ea42eba4d73ff448fd81edf438e38d33d00db57
https://github.com/methane
methanehttps://github.com/methane
Feb 24, 2026https://github.com/msgpack/msgpack-python/pull/662#issuecomment-3952440746
@bysiberhttps://github.com/bysiber
Please reload this pagehttps://github.com/msgpack/msgpack-python/pull/662
https://github.com/methane
methanehttps://github.com/methane
Copilothttps://github.com/apps/copilot-pull-request-reviewer
April 21, 2026 09:57https://github.com/msgpack/msgpack-python/pull/662#event-24712712153
started reviewinghttps://github.com/msgpack/msgpack-python/sessions/957588da-1c62-492e-bbcf-4cc82cb326a0
methanehttps://github.com/methane
April 21, 2026 09:57https://github.com/msgpack/msgpack-python/pull/662#event-24712725361
View session https://github.com/msgpack/msgpack-python/sessions/957588da-1c62-492e-bbcf-4cc82cb326a0
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Apr 21, 2026 https://github.com/msgpack/msgpack-python/pull/662#pullrequestreview-4146772702
View reviewed changes https://github.com/msgpack/msgpack-python/pull/662/files/4ea42eba4d73ff448fd81edf438e38d33d00db57
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/msgpack/msgpack-python/pull/662#pullrequestreview-4146772702
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Add Copilot custom instructionshttps://github.com/msgpack/msgpack-python/new/main?filename=.github/instructions/*.instructions.md
Learn how to get startedhttps://docs.github.com/en/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot
Please reload this pagehttps://github.com/msgpack/msgpack-python/pull/662
msgpack/ext.pyhttps://github.com/msgpack/msgpack-python/pull/662/files/4ea42eba4d73ff448fd81edf438e38d33d00db57#diff-1a28c95cb428a089b51d6a3ee02c333f40249af4c29568fa14335e26e36c3c7f
methanehttps://github.com/methane
Apr 21, 2026https://github.com/msgpack/msgpack-python/pull/662#discussion_r3118480127
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@copilothttps://gh.io/copilot-coding-agent-docs
this feedbackhttps://github.com/msgpack/msgpack-python/pull/662#discussion_r3116600036
Please reload this pagehttps://github.com/msgpack/msgpack-python/pull/662
https://github.com/methane
add test for pre-epoch datetimehttps://github.com/msgpack/msgpack-python/pull/662/commits/8ddd5d77881a38aaf73e4a5185833549eaf2f7b9
8ddd5d7https://github.com/msgpack/msgpack-python/pull/662/commits/8ddd5d77881a38aaf73e4a5185833549eaf2f7b9
https://github.com/methane
methanehttps://github.com/methane
98d2c79https://github.com/msgpack/msgpack-python/commit/98d2c7907ddf5a6a810aaece9a7394e20bc490bf
Jun 2, 2026https://github.com/msgpack/msgpack-python/pull/662#event-26237101784
Please reload this pagehttps://github.com/msgpack/msgpack-python/pull/662
https://github.com/gaoflow
gaoflowhttps://github.com/gaoflow
Jul 3, 2026 https://github.com/msgpack/msgpack-python/pull/662#ref-pullrequest-4803053836
Fix Timestamp.from_datetime() precision for far-future datetimes #710 https://github.com/msgpack/msgpack-python/pull/710
methanehttps://github.com/methane
Jul 5, 2026 https://github.com/msgpack/msgpack-python/pull/662#ref-commit-659ee98
https://github.com/gaoflow
Fix Timestamp.from_datetime() precision for far-future datetimes (https://github.com/msgpack/msgpack-python/commit/659ee98d5268621146a8b69b803d2e1f7c33d20e
#710https://github.com/msgpack/msgpack-python/pull/710
)https://github.com/msgpack/msgpack-python/commit/659ee98d5268621146a8b69b803d2e1f7c33d20e
659ee98https://github.com/msgpack/msgpack-python/commit/659ee98d5268621146a8b69b803d2e1f7c33d20e
#662https://github.com/msgpack/msgpack-python/pull/662
https://github.co/hiddenchars
https://github.com/msgpack/msgpack-python/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmsgpack%2Fmsgpack-python%2Fpull%2F662
https://github.com/methane
methane https://github.com/methane
https://github.com/msgpack/msgpack-python/pull/662/files/4ea42eba4d73ff448fd81edf438e38d33d00db57
Copilot code review https://github.com/apps/copilot-pull-request-reviewer
Copilot https://github.com/apps/copilot-pull-request-reviewer
https://github.com/msgpack/msgpack-python/pull/662/files/4ea42eba4d73ff448fd81edf438e38d33d00db57
Please reload this pagehttps://github.com/msgpack/msgpack-python/pull/662
https://github.com/bysiber
https://github.com/methane
https://github.com/apps/copilot-pull-request-reviewer
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.