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: 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 implementation of {!a} is not correct, as simple acts as !r.

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:c8f05c22-d02d-750b-02f0-a7211f9ce9bd
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC9F0:10BAD9:BA1B69:10EF461:6A58A379
html-safe-nonce2f430e92c456f258ccbf35d255af9cf9cf747d566978dfdb20f9b808b7c57b3b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOUYwOjEwQkFEOTpCQTFCNjk6MTBFRjQ2MTo2QTU4QTM3OSIsInZpc2l0b3JfaWQiOiI2ODQ2NzI0MjEyOTIzMDgxNTkzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac3176d2ca77bdc743d1a8d576ec4706fd9032d3dd7d182e03a9233d7461800b48
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/RustPython/RustPython/pull/1027/files
twitter:imagehttps://avatars.githubusercontent.com/u/155623?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/155623?s=400&v=4
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:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6
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
release7d699f0c51c1f58938601870a21967b74eaad94d
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/RustPython/RustPython/pull/1027/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F1027%2Ffiles
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%2Ffiles
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=RustPython%2FRustPython
Reloadhttps://github.com/RustPython/RustPython/pull/1027/files
Reloadhttps://github.com/RustPython/RustPython/pull/1027/files
Reloadhttps://github.com/RustPython/RustPython/pull/1027/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/1027/files
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 287 https://github.com/RustPython/RustPython/issues
Pull requests 101 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
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
coolreader18https://github.com/coolreader18
RustPython:masterhttps://github.com/RustPython/RustPython/tree/master
alanjds:format-banghttps://github.com/alanjds/RustPython/tree/format-bang
Conversation 7 https://github.com/RustPython/RustPython/pull/1027
Commits 4 https://github.com/RustPython/RustPython/pull/1027/commits
Checks 0 https://github.com/RustPython/RustPython/pull/1027/checks
Files changed https://github.com/RustPython/RustPython/pull/1027/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/1027/files
Feature: str.format accepting !r, !s and !a https://github.com/RustPython/RustPython/pull/1027/files#top
Show all changes 4 commits https://github.com/RustPython/RustPython/pull/1027/files
65d0093 Dont fail on '{!r}'.format(...) alanjds Jun 9, 2019 https://github.com/RustPython/RustPython/pull/1027/commits/65d009382213fbdd112679a97446ed3194a5530a
e19b674 FormatSpec got a preconversor:FormatPreconversor to handle !r, !s and !a alanjds Jun 9, 2019 https://github.com/RustPython/RustPython/pull/1027/commits/e19b674abfb3f505967e2e16b47c42938449dafd
f0a2b4c Apply the {!r} on str.format calls alanjds Jun 9, 2019 https://github.com/RustPython/RustPython/pull/1027/commits/f0a2b4c50bc0b638d5257f12bae2e9d3f2966934
854bacf Fix the Rust tests alanjds Jun 9, 2019 https://github.com/RustPython/RustPython/pull/1027/commits/854bacf45293b06e7be4a44d980765294600976a
Clear filters https://github.com/RustPython/RustPython/pull/1027/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/1027/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/1027/files
strings.py https://github.com/RustPython/RustPython/pull/1027/files#diff-d4df0ecb6b8cd8a64594ba933fc0386af5e0eb0b2504f99091b2a0ed65c191b1
format.rs https://github.com/RustPython/RustPython/pull/1027/files#diff-f9bddf7dd1748a0744488f2f7559d278381dedd0a3f971f9da8b39c7b88c8556
objstr.rs https://github.com/RustPython/RustPython/pull/1027/files#diff-5959b66a45a435519c5d9ab11fd775670a67b19cb079f0025a673c87849da0ea
tests/snippets/strings.pyhttps://github.com/RustPython/RustPython/pull/1027/files#diff-d4df0ecb6b8cd8a64594ba933fc0386af5e0eb0b2504f99091b2a0ed65c191b1
View file https://github.com/alanjds/RustPython/blob/854bacf45293b06e7be4a44d980765294600976a/tests/snippets/strings.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/1027/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/1027/files#diff-d4df0ecb6b8cd8a64594ba933fc0386af5e0eb0b2504f99091b2a0ed65c191b1
https://github.com/RustPython/RustPython/pull/1027/files#diff-d4df0ecb6b8cd8a64594ba933fc0386af5e0eb0b2504f99091b2a0ed65c191b1
vm/src/format.rshttps://github.com/RustPython/RustPython/pull/1027/files#diff-f9bddf7dd1748a0744488f2f7559d278381dedd0a3f971f9da8b39c7b88c8556
View file https://github.com/alanjds/RustPython/blob/854bacf45293b06e7be4a44d980765294600976a/vm/src/format.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/1027/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/1027/files#diff-f9bddf7dd1748a0744488f2f7559d278381dedd0a3f971f9da8b39c7b88c8556
coolreader18https://github.com/coolreader18
Jun 10, 2019https://github.com/RustPython/RustPython/pull/1027/files#r292055672
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/RustPython/RustPython/pull/1027/files
alanjdshttps://github.com/alanjds
Jun 11, 2019https://github.com/RustPython/RustPython/pull/1027/files#r292609347
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/RustPython/RustPython/pull/1027/files
alanjdshttps://github.com/alanjds
Jun 11, 2019https://github.com/RustPython/RustPython/pull/1027/files#r292610693
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/RustPython/RustPython/pull/1027/files
silmethhttps://github.com/silmeth
Jun 11, 2019https://github.com/RustPython/RustPython/pull/1027/files#r292623981
Please reload this pagehttps://github.com/RustPython/RustPython/pull/1027/files
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/files
https://github.com/RustPython/RustPython/pull/1027/files#diff-f9bddf7dd1748a0744488f2f7559d278381dedd0a3f971f9da8b39c7b88c8556
https://github.com/RustPython/RustPython/pull/1027/files#diff-f9bddf7dd1748a0744488f2f7559d278381dedd0a3f971f9da8b39c7b88c8556
https://github.com/RustPython/RustPython/pull/1027/files#diff-f9bddf7dd1748a0744488f2f7559d278381dedd0a3f971f9da8b39c7b88c8556
https://github.com/RustPython/RustPython/pull/1027/files#diff-f9bddf7dd1748a0744488f2f7559d278381dedd0a3f971f9da8b39c7b88c8556
https://github.com/RustPython/RustPython/pull/1027/files#diff-f9bddf7dd1748a0744488f2f7559d278381dedd0a3f971f9da8b39c7b88c8556
https://github.com/RustPython/RustPython/pull/1027/files#diff-f9bddf7dd1748a0744488f2f7559d278381dedd0a3f971f9da8b39c7b88c8556
https://github.com/RustPython/RustPython/pull/1027/files#diff-f9bddf7dd1748a0744488f2f7559d278381dedd0a3f971f9da8b39c7b88c8556
https://github.com/RustPython/RustPython/pull/1027/files#diff-f9bddf7dd1748a0744488f2f7559d278381dedd0a3f971f9da8b39c7b88c8556
https://github.com/RustPython/RustPython/pull/1027/files#diff-f9bddf7dd1748a0744488f2f7559d278381dedd0a3f971f9da8b39c7b88c8556
https://github.com/RustPython/RustPython/pull/1027/files#diff-f9bddf7dd1748a0744488f2f7559d278381dedd0a3f971f9da8b39c7b88c8556
https://github.com/RustPython/RustPython/pull/1027/files#diff-f9bddf7dd1748a0744488f2f7559d278381dedd0a3f971f9da8b39c7b88c8556
https://github.com/RustPython/RustPython/pull/1027/files#diff-f9bddf7dd1748a0744488f2f7559d278381dedd0a3f971f9da8b39c7b88c8556
https://github.com/RustPython/RustPython/pull/1027/files#diff-f9bddf7dd1748a0744488f2f7559d278381dedd0a3f971f9da8b39c7b88c8556
vm/src/obj/objstr.rshttps://github.com/RustPython/RustPython/pull/1027/files#diff-5959b66a45a435519c5d9ab11fd775670a67b19cb079f0025a673c87849da0ea
View file https://github.com/alanjds/RustPython/blob/854bacf45293b06e7be4a44d980765294600976a/vm/src/obj/objstr.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/1027/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/1027/files#diff-5959b66a45a435519c5d9ab11fd775670a67b19cb079f0025a673c87849da0ea
https://github.com/RustPython/RustPython/pull/1027/files#diff-5959b66a45a435519c5d9ab11fd775670a67b19cb079f0025a673c87849da0ea
https://github.com/RustPython/RustPython/pull/1027/files#diff-5959b66a45a435519c5d9ab11fd775670a67b19cb079f0025a673c87849da0ea
https://github.com/RustPython/RustPython/pull/1027/files#diff-5959b66a45a435519c5d9ab11fd775670a67b19cb079f0025a673c87849da0ea
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.