René's URL Explorer Experiment


Title: 'n' support for float format by JazzGlobal · Pull Request #4865 · RustPython/RustPython · GitHub

Open Graph Title: 'n' support for float format by JazzGlobal · Pull Request #4865 · RustPython/RustPython

X Title: 'n' support for float format by JazzGlobal · Pull Request #4865 · RustPython/RustPython

Description: Contributes to #1656 I've only recently sprouted my Rustacean legs so let me know if there are better ways to achieve this. I'm sure there will be! '{:n}'.format(999999.1234) '{:n}'.format(9999.1234) '{:n}'.format(1000000.1234) '{:n}'.format(-1000000.1234) '{:.8n}'.format(1000000.1234) '{:.10n}'.format(1000000.1234) '{:.11n}'.format(1000000.1234) '{:.11n}'.format(-1000000.1234) '{:0n}'.format(-1000000.1234) '{:n}'.format(-1000000.1234) '{:-1n}'.format(-1000000.1234) '{:-1N}'.format(-1000000.1234) '{:.1N}'.format(1000000.1234) '{:0N}'.format(-1000000.1234) '{:N}'.format(999999.1234) yields 999999 9999.12 1e+06 -1e+06 1000000.1 1000000.123 1000000.1234 -1000000.1234 -1e+06 -1e+06 -1e+06 Unknown format code 'N' for object of type 'float' Unknown format code 'N' for object of type 'float' Unknown format code 'N' for object of type 'float' Unknown format code 'N' for object of type 'float'

Open Graph Description: Contributes to #1656 I've only recently sprouted my Rustacean legs so let me know if there are better ways to achieve this. I'm sure there will be! '{:n}'.format(999999.1234) '{...

X Description: Contributes to #1656 I've only recently sprouted my Rustacean legs so let me know if there are better ways to achieve this. I'm sure there will be! '{:n}'.format(999...

Opengraph URL: https://github.com/RustPython/RustPython/pull/4865

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:5895762e-3848-29a3-c8f0-76da35e409b8
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEC38:22E601:54E7E4:721E25:6B00311A
html-safe-nonced237cd78d6b526b81e4435ebf5aaf5e7c1f70250f10f54d11357686df3d78a27
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzM4OjIyRTYwMTo1NEU3RTQ6NzIxRTI1OjZCMDAzMTFBIiwidmlzaXRvcl9pZCI6Ijg4OTEyMDQyNDE1NDk0MzkyNTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacb1ee947272ec9051cab1a613b6efa396c8571fe927c4a3ac2b3cc931ffa85f29
hovercard-subject-tagpull_request:1306224353
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/RustPython/RustPython/pull/4865/files
twitter:imagehttps://avatars.githubusercontent.com/u/28527915?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/28527915?s=400&v=4
og:image:altContributes to #1656 I've only recently sprouted my Rustacean legs so let me know if there are better ways to achieve this. I'm sure there will be! '{:n}'.format(999999.1234) '{...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git
octolytics-dimension-user_id39710557
octolytics-dimension-user_loginRustPython
octolytics-dimension-repository_id135201145
octolytics-dimension-repository_nwoRustPython/RustPython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id135201145
octolytics-dimension-repository_network_root_nwoRustPython/RustPython
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef3f3a43ca095cdea3abbb394112e971f9fdb94fa
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/RustPython/RustPython/pull/4865/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F4865%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F4865%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=RustPython%2FRustPython
Reloadhttps://github.com/RustPython/RustPython/pull/4865/files
Reloadhttps://github.com/RustPython/RustPython/pull/4865/files
Reloadhttps://github.com/RustPython/RustPython/pull/4865/files
RustPythonhttps://github.com/RustPython
RustPythonhttps://github.com/RustPython/RustPython
Codehttps://github.com/RustPython/RustPython
Issues195 (195)https://github.com/RustPython/RustPython/issues
Pull requests144 (144)https://github.com/RustPython/RustPython/pulls
Discussionshttps://github.com/RustPython/RustPython/discussions
Actionshttps://github.com/RustPython/RustPython/actions
Projectshttps://github.com/RustPython/RustPython/projects
Wikihttps://github.com/RustPython/RustPython/wiki
Security and qualityhttps://github.com/RustPython/RustPython/security
Insightshttps://github.com/RustPython/RustPython/insights
Sign up for GitHub https://github.com/signup?return_to=%2FRustPython%2FRustPython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FRustPython%2FRustPython%2Fissues%2Fnew%2Fchoose
youknowonehttps://github.com/youknowone
RustPython:mainhttps://github.com/RustPython/RustPython/tree/main
JazzGlobal:format_float_code_nhttps://github.com/JazzGlobal/RustPython/tree/format_float_code_n
Conversation 18 https://github.com/RustPython/RustPython/pull/4865
Commits 14 https://github.com/RustPython/RustPython/pull/4865/commits
Checks 0 https://github.com/RustPython/RustPython/pull/4865/checks
Files changed https://github.com/RustPython/RustPython/pull/4865/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/4865/files
'n' support for float format https://github.com/RustPython/RustPython/pull/4865/files#top
Show all changes 14 commits https://github.com/RustPython/RustPython/pull/4865/files
c1a390b N and n support for float format. JazzGlobal Apr 7, 2023 https://github.com/RustPython/RustPython/pull/4865/commits/c1a390bee918f045272c46cbf166070544ed4419
03a8990 Satisfy github actions JazzGlobal Apr 8, 2023 https://github.com/RustPython/RustPython/pull/4865/commits/03a89901fa99c5cf38c0a400fced45147a90cf63
a937e8e cargo fmt JazzGlobal Apr 8, 2023 https://github.com/RustPython/RustPython/pull/4865/commits/a937e8eefe42f0fdd32776a18d550fa5adf7c03f
9627142 Added tests JazzGlobal Apr 8, 2023 https://github.com/RustPython/RustPython/pull/4865/commits/9627142fa133f43e23fb54b723e922d66c0a3d87
d8c3f11 Fixed tests and N case functionality JazzGlobal Apr 9, 2023 https://github.com/RustPython/RustPython/pull/4865/commits/d8c3f1167c8cbd445a1f6630a15456cf182cdbc1
1fd13c8 Merge pull request #1 from JazzGlobal/okay JazzGlobal Apr 9, 2023 https://github.com/RustPython/RustPython/pull/4865/commits/1fd13c8794887c07c942dffb6815878d128a4c5a
f17f7a4 Fixed possibility of precision being larger than magnitude. JazzGlobal Apr 9, 2023 https://github.com/RustPython/RustPython/pull/4865/commits/f17f7a4bdf57e135fca12b40e00bbb2f2974cc89
e5fd98d Lint error. JazzGlobal Apr 9, 2023 https://github.com/RustPython/RustPython/pull/4865/commits/e5fd98d2f9cae7537b1e762d3354c0792a4e5308
d08a36e Lint Error Part 2. JazzGlobal Apr 10, 2023 https://github.com/RustPython/RustPython/pull/4865/commits/d08a36edde6bf9e5815c4e9f80a318a759b9c747
f46e88f Unmark as expected fail. JazzGlobal Apr 10, 2023 https://github.com/RustPython/RustPython/pull/4865/commits/f46e88fa77987c51158048958f923c1e0096ef19
ae47876 Merge branch 'format_float_code_n' of https://github.com/JazzGlobal/R… JazzGlobal Apr 10, 2023 https://github.com/RustPython/RustPython/pull/4865/commits/ae4787623ed16aea3738c1d7cdf26e8d5acf7667
a6e7a55 Fixed tests JazzGlobal Apr 10, 2023 https://github.com/RustPython/RustPython/pull/4865/commits/a6e7a55453a046726c951e5d29d8a5e6afecad27
8c76113 cargo fmt JazzGlobal Apr 10, 2023 https://github.com/RustPython/RustPython/pull/4865/commits/8c76113c85ccfb5709b27fa396ac13679d72d403
509e811 Reuse GeneralFormat. � JazzGlobal Apr 15, 2023 https://github.com/RustPython/RustPython/pull/4865/commits/509e8119b21ff4a3451de6d44fed6539bebade0e
Clear filters https://github.com/RustPython/RustPython/pull/4865/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/4865/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/4865/files
test_enum.py https://github.com/RustPython/RustPython/pull/4865/files#diff-8467f9fbbff81abf26d87a8dbbf0e0c866157971948010e48cc73539251a9e4c
test_format.py https://github.com/RustPython/RustPython/pull/4865/files#diff-abdba5791a8f0143685a423eba82d53f951df55e45d87b5bea45a1e3acd43351
format.rs https://github.com/RustPython/RustPython/pull/4865/files#diff-5f89937501181ccd889dd62519036a866bd48d22ad115e027400b9642afd7cef
builtin_str.py https://github.com/RustPython/RustPython/pull/4865/files#diff-6f5712e86d81a34dbc4b8137f08f43eccb65ef4b7bd548bfd6de8cc723ce41e7
Lib/test/test_enum.pyhttps://github.com/RustPython/RustPython/pull/4865/files#diff-8467f9fbbff81abf26d87a8dbbf0e0c866157971948010e48cc73539251a9e4c
View file https://github.com/JazzGlobal/RustPython/blob/509e8119b21ff4a3451de6d44fed6539bebade0e/Lib/test/test_enum.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/4865/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/4865/files#diff-8467f9fbbff81abf26d87a8dbbf0e0c866157971948010e48cc73539251a9e4c
https://github.com/RustPython/RustPython/pull/4865/files#diff-8467f9fbbff81abf26d87a8dbbf0e0c866157971948010e48cc73539251a9e4c
Lib/test/test_format.pyhttps://github.com/RustPython/RustPython/pull/4865/files#diff-abdba5791a8f0143685a423eba82d53f951df55e45d87b5bea45a1e3acd43351
View file https://github.com/JazzGlobal/RustPython/blob/509e8119b21ff4a3451de6d44fed6539bebade0e/Lib/test/test_format.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/4865/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/4865/files#diff-abdba5791a8f0143685a423eba82d53f951df55e45d87b5bea45a1e3acd43351
https://github.com/RustPython/RustPython/pull/4865/files#diff-abdba5791a8f0143685a423eba82d53f951df55e45d87b5bea45a1e3acd43351
common/src/format.rshttps://github.com/RustPython/RustPython/pull/4865/files#diff-5f89937501181ccd889dd62519036a866bd48d22ad115e027400b9642afd7cef
View file https://github.com/JazzGlobal/RustPython/blob/509e8119b21ff4a3451de6d44fed6539bebade0e/common/src/format.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/4865/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/4865/files#diff-5f89937501181ccd889dd62519036a866bd48d22ad115e027400b9642afd7cef
https://github.com/RustPython/RustPython/pull/4865/files#diff-5f89937501181ccd889dd62519036a866bd48d22ad115e027400b9642afd7cef
https://github.com/RustPython/RustPython/pull/4865/files#diff-5f89937501181ccd889dd62519036a866bd48d22ad115e027400b9642afd7cef
https://github.com/RustPython/RustPython/pull/4865/files#diff-5f89937501181ccd889dd62519036a866bd48d22ad115e027400b9642afd7cef
https://github.com/RustPython/RustPython/pull/4865/files#diff-5f89937501181ccd889dd62519036a866bd48d22ad115e027400b9642afd7cef
https://github.com/RustPython/RustPython/pull/4865/files#diff-5f89937501181ccd889dd62519036a866bd48d22ad115e027400b9642afd7cef
https://github.com/RustPython/RustPython/pull/4865/files#diff-5f89937501181ccd889dd62519036a866bd48d22ad115e027400b9642afd7cef
https://github.com/RustPython/RustPython/pull/4865/files#diff-5f89937501181ccd889dd62519036a866bd48d22ad115e027400b9642afd7cef
https://github.com/RustPython/RustPython/pull/4865/files#diff-5f89937501181ccd889dd62519036a866bd48d22ad115e027400b9642afd7cef
https://github.com/RustPython/RustPython/pull/4865/files#diff-5f89937501181ccd889dd62519036a866bd48d22ad115e027400b9642afd7cef
https://github.com/RustPython/RustPython/pull/4865/files#diff-5f89937501181ccd889dd62519036a866bd48d22ad115e027400b9642afd7cef
extra_tests/snippets/builtin_str.pyhttps://github.com/RustPython/RustPython/pull/4865/files#diff-6f5712e86d81a34dbc4b8137f08f43eccb65ef4b7bd548bfd6de8cc723ce41e7
View file https://github.com/JazzGlobal/RustPython/blob/509e8119b21ff4a3451de6d44fed6539bebade0e/extra_tests/snippets/builtin_str.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/4865/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/4865/files#diff-6f5712e86d81a34dbc4b8137f08f43eccb65ef4b7bd548bfd6de8cc723ce41e7
https://github.com/RustPython/RustPython/pull/4865/files#diff-6f5712e86d81a34dbc4b8137f08f43eccb65ef4b7bd548bfd6de8cc723ce41e7
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.