René's URL Explorer Experiment


Title: Feature: str.format accepting !r, !s and !a by alanjds · Pull Request #1027 · RustPython/RustPython · GitHub

Open Graph Title: Feature: str.format accepting !r, !s and !a by alanjds · Pull Request #1027 · RustPython/RustPython

X Title: Feature: str.format accepting !r, !s and !a by alanjds · Pull Request #1027 · RustPython/RustPython

Description: A Python Interpreter written in Rust. Contribute to RustPython/RustPython development by creating an account on GitHub.

Open Graph Description: From: https://gitter.im/rustpython/Lobby?at=5cfa898ebf4cbd167c484cf0 As the Python docs, when a {!r} occur, it runs __repr__ over the argument before applying the : rules. The current implementatio...

X Description: From: https://gitter.im/rustpython/Lobby?at=5cfa898ebf4cbd167c484cf0 As the Python docs, when a {!r} occur, it runs __repr__ over the argument before applying the : rules. The current implementatio...

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

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:52f77d08-8153-492f-1508-9b6182527d66
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDD68:15B7F2:746D:A143:6A587CD4
html-safe-noncebe57f49664238ff2f124ce4c6f6e891542a7a009f73ef5062f7e839fea9b1f66
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERDY4OjE1QjdGMjo3NDZEOkExNDM6NkE1ODdDRDQiLCJ2aXNpdG9yX2lkIjoiNjM0NTc0MzM1MzMxODUwNTY4NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac09fd6f558e9020fcd53cc27f36098e4d56c8121db5c049a04ee36240194a28af
hovercard-subject-tagpull_request:286499427
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/RustPython/RustPython/1027/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/0657c08e9208208032889c2cf3fa4914f10fac06e97b6718337e9b4234d27ac8/RustPython/RustPython/pull/1027
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0657c08e9208208032889c2cf3fa4914f10fac06e97b6718337e9b4234d27ac8/RustPython/RustPython/pull/1027
og:image:altFrom: https://gitter.im/rustpython/Lobby?at=5cfa898ebf4cbd167c484cf0 As the Python docs, when a {!r} occur, it runs __repr__ over the argument before applying the : rules. The current implementatio...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamealanjds
hostnamegithub.com
expected-hostnamegithub.com
None5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6
turbo-cache-controlno-cache
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8aae7b8d6caacacf5c66eaeb2702d8dc88d85b4a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/RustPython/RustPython/pull/1027#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F1027
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%2FRustPython%2FRustPython%2Fpull%2F1027
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=RustPython%2FRustPython
Reloadhttps://github.com/RustPython/RustPython/pull/1027
Reloadhttps://github.com/RustPython/RustPython/pull/1027
Reloadhttps://github.com/RustPython/RustPython/pull/1027
Please reload this pagehttps://github.com/RustPython/RustPython/pull/1027
RustPython https://github.com/RustPython
RustPythonhttps://github.com/RustPython/RustPython
Notifications https://github.com/login?return_to=%2FRustPython%2FRustPython
Fork 1.5k https://github.com/login?return_to=%2FRustPython%2FRustPython
Star 22.2k https://github.com/login?return_to=%2FRustPython%2FRustPython
Code https://github.com/RustPython/RustPython
Issues 289 https://github.com/RustPython/RustPython/issues
Pull requests 103 https://github.com/RustPython/RustPython/pulls
Discussions https://github.com/RustPython/RustPython/discussions
Actions https://github.com/RustPython/RustPython/actions
Projects https://github.com/RustPython/RustPython/projects
Models https://github.com/RustPython/RustPython/models
Wiki https://github.com/RustPython/RustPython/wiki
Security and quality 0 https://github.com/RustPython/RustPython/security
Insights https://github.com/RustPython/RustPython/pulse
Code https://github.com/RustPython/RustPython
Issues https://github.com/RustPython/RustPython/issues
Pull requests https://github.com/RustPython/RustPython/pulls
Discussions https://github.com/RustPython/RustPython/discussions
Actions https://github.com/RustPython/RustPython/actions
Projects https://github.com/RustPython/RustPython/projects
Models https://github.com/RustPython/RustPython/models
Wiki https://github.com/RustPython/RustPython/wiki
Security and quality https://github.com/RustPython/RustPython/security
Insights https://github.com/RustPython/RustPython/pulse
coolreader18https://github.com/coolreader18
RustPython:masterhttps://github.com/RustPython/RustPython/tree/master
alanjds:format-banghttps://github.com/alanjds/RustPython/tree/format-bang
Conversationhttps://github.com/RustPython/RustPython/pull/1027
Commits4 (4)https://github.com/RustPython/RustPython/pull/1027/commits
Checkshttps://github.com/RustPython/RustPython/pull/1027/checks
Files changedhttps://github.com/RustPython/RustPython/pull/1027/files
Feature: str.format accepting !r, !s and !ahttps://github.com/RustPython/RustPython/pull/1027#top
coolreader18https://github.com/coolreader18
RustPython:masterhttps://github.com/RustPython/RustPython/tree/master
alanjds:format-banghttps://github.com/alanjds/RustPython/tree/format-bang
https://github.com/alanjds
alanjdshttps://github.com/alanjds
Jun 9, 2019https://github.com/RustPython/RustPython/pull/1027#issue-453940923
https://gitter.im/rustpython/Lobby?at=5cfa898ebf4cbd167c484cf0https://gitter.im/rustpython/Lobby?at=5cfa898ebf4cbd167c484cf0
Please reload this pagehttps://github.com/RustPython/RustPython/pull/1027
alanjdshttps://github.com/alanjds
June 9, 2019 13:46https://github.com/RustPython/RustPython/pull/1027#commits-pushed-65d0093
https://github.com/alanjds
Dont fail on '{!r}'.format(...)https://github.com/RustPython/RustPython/pull/1027/commits/65d009382213fbdd112679a97446ed3194a5530a
65d0093https://github.com/RustPython/RustPython/pull/1027/commits/65d009382213fbdd112679a97446ed3194a5530a
https://github.com/alanjds
FormatSpec got a preconversor:FormatPreconversor to handle !r, !s and !ahttps://github.com/RustPython/RustPython/pull/1027/commits/e19b674abfb3f505967e2e16b47c42938449dafd
e19b674https://github.com/RustPython/RustPython/pull/1027/commits/e19b674abfb3f505967e2e16b47c42938449dafd
https://github.com/alanjds
Apply the {!r} on str.format callshttps://github.com/RustPython/RustPython/pull/1027/commits/f0a2b4c50bc0b638d5257f12bae2e9d3f2966934
f0a2b4chttps://github.com/RustPython/RustPython/pull/1027/commits/f0a2b4c50bc0b638d5257f12bae2e9d3f2966934
https://docs.python.org/3.4/library/string.html#format-string-syntaxhttps://docs.python.org/3.4/library/string.html#format-string-syntax
https://github.com/alanjds
alanjdshttps://github.com/alanjds
Jun 9, 2019https://github.com/RustPython/RustPython/pull/1027#issuecomment-500247900
@palavivhttps://github.com/palaviv
Please reload this pagehttps://github.com/RustPython/RustPython/pull/1027
https://github.com/alanjds
Fix the Rust testshttps://github.com/RustPython/RustPython/pull/1027/commits/854bacf45293b06e7be4a44d980765294600976a
854bacfhttps://github.com/RustPython/RustPython/pull/1027/commits/854bacf45293b06e7be4a44d980765294600976a
https://github.com/codecov-io
codecov-iohttps://github.com/codecov-io
Jun 9, 2019https://github.com/RustPython/RustPython/pull/1027#issuecomment-500249712
Codecovhttps://codecov.io/gh/RustPython/RustPython/pull/1027?src=pr&el=h1
#1027https://codecov.io/gh/RustPython/RustPython/pull/1027?src=pr&el=desc
masterhttps://codecov.io/gh/RustPython/RustPython/commit/68011df6cb104df8bdb004333ce97367e7073e3d?src=pr&el=desc
https://codecov.io/gh/RustPython/RustPython/pull/1027?src=pr&el=tree
Impacted Fileshttps://codecov.io/gh/RustPython/RustPython/pull/1027?src=pr&el=tree
vm/src/obj/objstr.rshttps://codecov.io/gh/RustPython/RustPython/pull/1027/diff?src=pr&el=tree#diff-dm0vc3JjL29iai9vYmpzdHIucnM=
vm/src/format.rshttps://codecov.io/gh/RustPython/RustPython/pull/1027/diff?src=pr&el=tree#diff-dm0vc3JjL2Zvcm1hdC5ycw==
Continue to review full report at Codecovhttps://codecov.io/gh/RustPython/RustPython/pull/1027?src=pr&el=continue
Click here to learn morehttps://docs.codecov.io/docs/codecov-delta
Codecovhttps://codecov.io/gh/RustPython/RustPython/pull/1027?src=pr&el=footer
68011df...854bacfhttps://codecov.io/gh/RustPython/RustPython/pull/1027?src=pr&el=lastupdated
comment docshttps://docs.codecov.io/docs/pull-request-comments
Please reload this pagehttps://github.com/RustPython/RustPython/pull/1027
https://github.com/coolreader18
coolreader18https://github.com/coolreader18
Jun 10, 2019 https://github.com/RustPython/RustPython/pull/1027#pullrequestreview-247672922
View reviewed changes https://github.com/RustPython/RustPython/pull/1027/files/854bacf45293b06e7be4a44d980765294600976a
vm/src/format.rshttps://github.com/RustPython/RustPython/pull/1027/files/854bacf45293b06e7be4a44d980765294600976a#diff-f9bddf7dd1748a0744488f2f7559d278381dedd0a3f971f9da8b39c7b88c8556
coolreader18https://github.com/coolreader18
Jun 10, 2019https://github.com/RustPython/RustPython/pull/1027#discussion_r292055672
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/RustPython/RustPython/pull/1027
alanjdshttps://github.com/alanjds
Jun 11, 2019https://github.com/RustPython/RustPython/pull/1027#discussion_r292609347
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/RustPython/RustPython/pull/1027
alanjdshttps://github.com/alanjds
Jun 11, 2019https://github.com/RustPython/RustPython/pull/1027#discussion_r292610693
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/RustPython/RustPython/pull/1027
silmethhttps://github.com/silmeth
Jun 11, 2019https://github.com/RustPython/RustPython/pull/1027#discussion_r292623981
Please reload this pagehttps://github.com/RustPython/RustPython/pull/1027
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://doc.rust-lang.org/std/result/https://doc.rust-lang.org/std/result/
Please reload this pagehttps://github.com/RustPython/RustPython/pull/1027
https://github.com/coolreader18
coolreader18https://github.com/coolreader18
windelbouwmanhttps://github.com/windelbouwman
June 10, 2019 15:15https://github.com/RustPython/RustPython/pull/1027#event-2401284567
https://github.com/palaviv
palavivhttps://github.com/palaviv
Jun 10, 2019https://github.com/RustPython/RustPython/pull/1027#issuecomment-500469057
@alanjdshttps://github.com/alanjds
#1018https://github.com/RustPython/RustPython/pull/1018
Please reload this pagehttps://github.com/RustPython/RustPython/pull/1027
https://github.com/coolreader18
coolreader18https://github.com/coolreader18
740e838https://github.com/RustPython/RustPython/commit/740e8387b8d097335ba094b232d96f4dc8838df5
Jun 10, 2019https://github.com/RustPython/RustPython/pull/1027#event-2401406815
https://github.com/alanjds
alanjdshttps://github.com/alanjds
July 30, 2025 22:34https://github.com/RustPython/RustPython/pull/1027#event-18908549037
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/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%2FRustPython%2FRustPython%2Fpull%2F1027
https://github.com/coolreader18
coolreader18 https://github.com/coolreader18
https://github.com/RustPython/RustPython/pull/1027/files/854bacf45293b06e7be4a44d980765294600976a
https://github.com/windelbouwman
windelbouwman https://github.com/windelbouwman
https://github.com/silmeth
silmeth https://github.com/silmeth
https://github.com/RustPython/RustPython/pull/1027/files/854bacf45293b06e7be4a44d980765294600976a
Please reload this pagehttps://github.com/RustPython/RustPython/pull/1027
https://github.com/alanjds
https://github.com/codecov-io
https://github.com/palaviv
https://github.com/silmeth
https://github.com/coolreader18
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.