René's URL Explorer Experiment


Title: Fix naturaldelta sub second precision by wolf1986 · Pull Request #169 · python-humanize/humanize · GitHub

Open Graph Title: Fix naturaldelta sub second precision by wolf1986 · Pull Request #169 · python-humanize/humanize

X Title: Fix naturaldelta sub second precision by wolf1986 · Pull Request #169 · python-humanize/humanize

Description: Python humanize functions. Contribute to python-humanize/humanize development by creating an account on GitHub.

Open Graph Description: Fixes #154 Changes proposed in this pull request: Convert to float and not to int Explicitly drop support from 'inf' & 'nan' that are supported by float In tests, assert both f...

X Description: Fixes #154 Changes proposed in this pull request: Convert to float and not to int Explicitly drop support from 'inf' & 'nan' that are supported by float In ...

Opengraph URL: https://github.com/python-humanize/humanize/pull/169

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:56a66e72-7db7-8043-e9ce-56f49326e027
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id90C6:28ECE1:168E408:20AAE54:6A54CF85
html-safe-nonce5041a7c57f5e0c626c709dcc9e5f72b11c7ba849f8e3c5be87b8dede45f673d8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MEM2OjI4RUNFMToxNjhFNDA4OjIwQUFFNTQ6NkE1NENGODUiLCJ2aXNpdG9yX2lkIjoiMzA5MTI5OTI4MTQwMTA3MzU0MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac9b44634548efd66e38cfd9e588c0a4a3d4781216e54a62a7f239ff356f9eb1e4
hovercard-subject-tagpull_request:1709009132
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/python-humanize/humanize/169/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/380a304aabbf9702a09ed23308425d854ac4ba32f920c652f3e72c86b9087fcc/python-humanize/humanize/pull/169
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/380a304aabbf9702a09ed23308425d854ac4ba32f920c652f3e72c86b9087fcc/python-humanize/humanize/pull/169
og:image:altFixes #154 Changes proposed in this pull request: Convert to float and not to int Explicitly drop support from 'inf' & 'nan' that are supported by float In tests, assert both f...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamewolf1986
hostnamegithub.com
expected-hostnamegithub.com
Nonea556215b071af6609619e2bbe6f00bdfbf0812ad723b1ae6c301858a7a829f54
turbo-cache-controlno-cache
go-importgithub.com/python-humanize/humanize git https://github.com/python-humanize/humanize.git
octolytics-dimension-user_id62149795
octolytics-dimension-user_loginpython-humanize
octolytics-dimension-repository_id466683324
octolytics-dimension-repository_nwopython-humanize/humanize
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id466683324
octolytics-dimension-repository_network_root_nwopython-humanize/humanize
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
release840b5d20d5a883c23cf56f5240b2c343d6cc0867
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python-humanize/humanize/pull/169#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-humanize%2Fhumanize%2Fpull%2F169
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%2Fpython-humanize%2Fhumanize%2Fpull%2F169
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=python-humanize%2Fhumanize
Reloadhttps://github.com/python-humanize/humanize/pull/169
Reloadhttps://github.com/python-humanize/humanize/pull/169
Reloadhttps://github.com/python-humanize/humanize/pull/169
Please reload this pagehttps://github.com/python-humanize/humanize/pull/169
python-humanize https://github.com/python-humanize
humanizehttps://github.com/python-humanize/humanize
Please reload this pagehttps://github.com/python-humanize/humanize/pull/169
Notifications https://github.com/login?return_to=%2Fpython-humanize%2Fhumanize
Fork 115 https://github.com/login?return_to=%2Fpython-humanize%2Fhumanize
Star 736 https://github.com/login?return_to=%2Fpython-humanize%2Fhumanize
Code https://github.com/python-humanize/humanize
Issues 12 https://github.com/python-humanize/humanize/issues
Pull requests 12 https://github.com/python-humanize/humanize/pulls
Actions https://github.com/python-humanize/humanize/actions
Security and quality 0 https://github.com/python-humanize/humanize/security
Insights https://github.com/python-humanize/humanize/pulse
Code https://github.com/python-humanize/humanize
Issues https://github.com/python-humanize/humanize/issues
Pull requests https://github.com/python-humanize/humanize/pulls
Actions https://github.com/python-humanize/humanize/actions
Security and quality https://github.com/python-humanize/humanize/security
Insights https://github.com/python-humanize/humanize/pulse
hugovkhttps://github.com/hugovk
python-humanize:mainhttps://github.com/python-humanize/humanize/tree/main
Conversationhttps://github.com/python-humanize/humanize/pull/169
Commits5 (5)https://github.com/python-humanize/humanize/pull/169/commits
Checkshttps://github.com/python-humanize/humanize/pull/169/checks
Files changedhttps://github.com/python-humanize/humanize/pull/169/files
Fix naturaldelta sub second precisionhttps://github.com/python-humanize/humanize/pull/169#top
hugovkhttps://github.com/hugovk
python-humanize:mainhttps://github.com/python-humanize/humanize/tree/main
https://github.com/wolf1986
wolf1986https://github.com/wolf1986
Feb 2, 2024https://github.com/python-humanize/humanize/pull/169#issue-2115547049
#154https://github.com/python-humanize/humanize/issues/154
Please reload this pagehttps://github.com/python-humanize/humanize/pull/169
wolf1986https://github.com/wolf1986
February 2, 2024 19:33https://github.com/python-humanize/humanize/pull/169#commits-pushed-872d733
https://github.com/wolf1986
Use float to support sub-second precisionhttps://github.com/python-humanize/humanize/pull/169/commits/872d7331fe3e307d3cc682d422f51f2de13c0fa7
872d733https://github.com/python-humanize/humanize/pull/169/commits/872d7331fe3e307d3cc682d422f51f2de13c0fa7
https://github.com/wolf1986
Verify timedelta & float inputs are correcthttps://github.com/python-humanize/humanize/pull/169/commits/b60e5558da85cd324021f4fed98872145a9c76e5
b60e555https://github.com/python-humanize/humanize/pull/169/commits/b60e5558da85cd324021f4fed98872145a9c76e5
https://github.com/wolf1986
Explicitly don't support special floatshttps://github.com/python-humanize/humanize/pull/169/commits/475c5eaf5d0147c72283d2c72f808d770bbd58c4
475c5eahttps://github.com/python-humanize/humanize/pull/169/commits/475c5eaf5d0147c72283d2c72f808d770bbd58c4
https://github.com/marketplace/pre-commit-ci
[pre-commit.ci] auto fixes from pre-commit.com hookshttps://github.com/python-humanize/humanize/pull/169/commits/3fbb88c702e01464eb67c7ff3690839f66bcee6e
3fbb88chttps://github.com/python-humanize/humanize/pull/169/commits/3fbb88c702e01464eb67c7ff3690839f66bcee6e
https://pre-commit.cihttps://pre-commit.ci
https://github.com/wolf1986
wolf1986https://github.com/wolf1986
Feb 2, 2024https://github.com/python-humanize/humanize/pull/169#event-11687852133
https://github.com/apps/codecov
codecovhttps://github.com/apps/codecov
Feb 2, 2024https://github.com/python-humanize/humanize/pull/169#issuecomment-1924476290
Please reload this pagehttps://github.com/python-humanize/humanize/pull/169
Codecovhttps://app.codecov.io/gh/python-humanize/humanize/pull/169?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize
(a28cb80)https://app.codecov.io/gh/python-humanize/humanize/commit/a28cb80436f51e9cf01733363b6b3d5aceb20416?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize
(c94f951)https://app.codecov.io/gh/python-humanize/humanize/pull/169?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize
Flaghttps://app.codecov.io/gh/python-humanize/humanize/pull/169/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize
macos-latesthttps://app.codecov.io/gh/python-humanize/humanize/pull/169/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize
ubuntu-latesthttps://app.codecov.io/gh/python-humanize/humanize/pull/169/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize
windows-latesthttps://app.codecov.io/gh/python-humanize/humanize/pull/169/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize
Click herehttps://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize#carryforward-flags-in-the-pull-request-comment
☔ View full report in Codecov by Sentryhttps://app.codecov.io/gh/python-humanize/humanize/pull/169?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize
Share it herehttps://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize
Please reload this pagehttps://github.com/python-humanize/humanize/pull/169
https://github.com/hugovk
hugovkhttps://github.com/hugovk
changelog: Fixed https://github.com/python-humanize/humanize/issues?q=state%3Aopen%20label%3A%22changelog%3A%20Fixed%22
Feb 24, 2024https://github.com/python-humanize/humanize/pull/169#event-11910583935
https://github.com/hugovk
hugovkhttps://github.com/hugovk
Feb 24, 2024 https://github.com/python-humanize/humanize/pull/169#pullrequestreview-1899401483
View reviewed changes https://github.com/python-humanize/humanize/pull/169/files/3fbb88c702e01464eb67c7ff3690839f66bcee6e
src/humanize/time.pyhttps://github.com/python-humanize/humanize/pull/169/files/3fbb88c702e01464eb67c7ff3690839f66bcee6e#diff-b3fe03965d3c376310ca8f826ead2c13caa55b4db21219b97eb1a50c9395be28
Please reload this pagehttps://github.com/python-humanize/humanize/pull/169
https://github.com/hugovk
Fix typohttps://github.com/python-humanize/humanize/pull/169/commits/c94f9512c86c095080366cf1dabb576e40c94ad7
c94f951https://github.com/python-humanize/humanize/pull/169/commits/c94f9512c86c095080366cf1dabb576e40c94ad7
https://github.com/hugovk
hugovkhttps://github.com/hugovk
1399e04https://github.com/python-humanize/humanize/commit/1399e049734bd7c779b38fa64dd02742b6aadb06
Feb 24, 2024https://github.com/python-humanize/humanize/pull/169#event-11910603524
https://github.com/hugovk
hugovkhttps://github.com/hugovk
Feb 24, 2024https://github.com/python-humanize/humanize/pull/169#issuecomment-1962332909
Please reload this pagehttps://github.com/python-humanize/humanize/pull/169
https://github.co/hiddenchars
https://github.com/python-humanize/humanize/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%2Fpython-humanize%2Fhumanize%2Fpull%2F169
https://github.com/hugovk
hugovk https://github.com/hugovk
https://github.com/python-humanize/humanize/pull/169/files/3fbb88c702e01464eb67c7ff3690839f66bcee6e
changelog: Fixed https://github.com/python-humanize/humanize/issues?q=state%3Aopen%20label%3A%22changelog%3A%20Fixed%22
naturaldelta failing with float input and sub-second precision https://github.com/python-humanize/humanize/issues/154
Please reload this pagehttps://github.com/python-humanize/humanize/pull/169
https://github.com/wolf1986
https://github.com/hugovk
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.