Title: Fix regression in `naturalsize` for float and str by loicleyendecker · Pull Request #250 · python-humanize/humanize · GitHub
Open Graph Title: Fix regression in `naturalsize` for float and str by loicleyendecker · Pull Request #250 · python-humanize/humanize
X Title: Fix regression in `naturalsize` for float and str by loicleyendecker · Pull Request #250 · python-humanize/humanize
Description: Python humanize functions. Contribute to python-humanize/humanize development by creating an account on GitHub.
Open Graph Description: Currently if gnu is set to False, calling naturalsize(1.0) or naturalsize("1") will return "1.0 Byte instead of "1 Byte", which was the return value until 4.12.
X Description: Currently if gnu is set to False, calling naturalsize(1.0) or naturalsize("1") will return "1.0 Byte instead of "1 Byte", which was the return value until 4.12.
Opengraph URL: https://github.com/python-humanize/humanize/pull/250
X: @github
Domain: github.com
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:8d3dfd45-2bad-edf1-881b-edbfdc49f720 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A7F4:399A66:1A150F6:235C015:6A53ED91 |
| html-safe-nonce | 0ccc94f1ca881832cd1db623c7542fe9255d4a90742c17c3f315c1484c5cd7b7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBN0Y0OjM5OUE2NjoxQTE1MEY2OjIzNUMwMTU6NkE1M0VEOTEiLCJ2aXNpdG9yX2lkIjoiMjYzMzI4NjczOTIwOTQ4MTYxNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 29a7058d61b4931d49a7678ce2e5b8ce8c320466061615be355dc438684da0eb |
| hovercard-subject-tag | pull_request:2446904879 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python-humanize/humanize/250/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/ee9f79937d5857016e1fc523f5df007ae53e8111d7a8ac0859ec9774259b4779/python-humanize/humanize/pull/250 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ee9f79937d5857016e1fc523f5df007ae53e8111d7a8ac0859ec9774259b4779/python-humanize/humanize/pull/250 |
| og:image:alt | Currently if gnu is set to False, calling naturalsize(1.0) or naturalsize("1") will return "1.0 Byte instead of "1 Byte", which was the return value until 4.12. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | loicleyendecker |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-cache |
| go-import | github.com/python-humanize/humanize git https://github.com/python-humanize/humanize.git |
| octolytics-dimension-user_id | 62149795 |
| octolytics-dimension-user_login | python-humanize |
| octolytics-dimension-repository_id | 466683324 |
| octolytics-dimension-repository_nwo | python-humanize/humanize |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 466683324 |
| octolytics-dimension-repository_network_root_nwo | python-humanize/humanize |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width