René's URL Explorer Experiment


Title: Introduce IntoPyStringRef to make vm.get_attribute more usable. by cthulahoops · Pull Request #705 · RustPython/RustPython · GitHub

Open Graph Title: Introduce IntoPyStringRef to make vm.get_attribute more usable. by cthulahoops · Pull Request #705 · RustPython/RustPython

X Title: Introduce IntoPyStringRef to make vm.get_attribute more usable. by cthulahoops · Pull Request #705 · RustPython/RustPython

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

Open Graph Description: A stand-alone piece of my AttributeProtocol work. I don't know if an equivalent of IntoPyObjectRef can be pieced together from the existing function machinery, but I couldn't see how.

X Description: A stand-alone piece of my AttributeProtocol work. I don't know if an equivalent of IntoPyObjectRef can be pieced together from the existing function machinery, but I couldn't see how.

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

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:f1835d0a-e67a-efd0-b361-d89c3978105f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBF92:272889:19C0216:24F9C11:6A58C60D
html-safe-nonce863a89a152d57d9415e61a3de7659ed709937e2f4c4d0158cc6dcae5cac24034
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRjkyOjI3Mjg4OToxOUMwMjE2OjI0RjlDMTE6NkE1OEM2MEQiLCJ2aXNpdG9yX2lkIjoiODc0ODMzOTYyNzY4MDEyMjM4MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac485ad2628cb37103c2cef95dd439aa5fd385a7c560610c790b309f3c9500ecc2
hovercard-subject-tagpull_request:262895750
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/705/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/6e7a056b6eedcf5b143935ea74a81a497185e4ed94f56c1dda4aac18f32da82a/RustPython/RustPython/pull/705
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6e7a056b6eedcf5b143935ea74a81a497185e4ed94f56c1dda4aac18f32da82a/RustPython/RustPython/pull/705
og:image:altA stand-alone piece of my AttributeProtocol work. I don't know if an equivalent of IntoPyObjectRef can be pieced together from the existing function machinery, but I couldn't see how.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecthulahoops
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/705#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F705
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%2F705
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/705
Reloadhttps://github.com/RustPython/RustPython/pull/705
Reloadhttps://github.com/RustPython/RustPython/pull/705
Please reload this pagehttps://github.com/RustPython/RustPython/pull/705
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
cthulahoopshttps://github.com/cthulahoops
masterhttps://github.com/RustPython/RustPython/tree/master
into_pystringrefhttps://github.com/RustPython/RustPython/tree/into_pystringref
Conversationhttps://github.com/RustPython/RustPython/pull/705
Commits1 (1)https://github.com/RustPython/RustPython/pull/705/commits
Checkshttps://github.com/RustPython/RustPython/pull/705/checks
Files changedhttps://github.com/RustPython/RustPython/pull/705/files
Introduce IntoPyStringRef to make vm.get_attribute more usable.https://github.com/RustPython/RustPython/pull/705#top
cthulahoopshttps://github.com/cthulahoops
masterhttps://github.com/RustPython/RustPython/tree/master
into_pystringrefhttps://github.com/RustPython/RustPython/tree/into_pystringref
https://github.com/cthulahoops
cthulahoopshttps://github.com/cthulahoops
Mar 20, 2019https://github.com/RustPython/RustPython/pull/705#issue-423291040
Please reload this pagehttps://github.com/RustPython/RustPython/pull/705
https://github.com/cthulahoops
cthulahoopshttps://github.com/cthulahoops
OddCoincidencehttps://github.com/OddCoincidence
March 20, 2019 14:43https://github.com/RustPython/RustPython/pull/705#event-2217054051
https://github.com/cthulahoops
cthulahoopshttps://github.com/cthulahoops
Mar 20, 2019https://github.com/RustPython/RustPython/pull/705#issuecomment-474893453
Please reload this pagehttps://github.com/RustPython/RustPython/pull/705
https://github.com/coolreader18
coolreader18https://github.com/coolreader18
Mar 20, 2019https://github.com/RustPython/RustPython/pull/705#issuecomment-474896877
#701https://github.com/RustPython/RustPython/pull/701
Please reload this pagehttps://github.com/RustPython/RustPython/pull/705
https://github.com/OddCoincidence
OddCoincidencehttps://github.com/OddCoincidence
Mar 20, 2019 https://github.com/RustPython/RustPython/pull/705#pullrequestreview-216831201
View reviewed changes https://github.com/RustPython/RustPython/pull/705/files
OddCoincidencehttps://github.com/OddCoincidence
Please reload this pagehttps://github.com/RustPython/RustPython/pull/705
https://github.com/RustPython/RustPython/pull/705#pullrequestreview-216831201
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/RustPython/RustPython/pull/705
vm/src/obj/objstr.rshttps://github.com/RustPython/RustPython/pull/705/files#diff-5959b66a45a435519c5d9ab11fd775670a67b19cb079f0025a673c87849da0ea
OddCoincidencehttps://github.com/OddCoincidence
Mar 20, 2019https://github.com/RustPython/RustPython/pull/705#discussion_r267426031
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/RustPython/RustPython/pull/705
cthulahoopshttps://github.com/cthulahoops
Mar 20, 2019https://github.com/RustPython/RustPython/pull/705#discussion_r267477425
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/RustPython/RustPython/pull/705
OddCoincidencehttps://github.com/OddCoincidence
Mar 20, 2019https://github.com/RustPython/RustPython/pull/705#discussion_r267480534
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/RustPython/RustPython/pull/705
cthulahoopshttps://github.com/cthulahoops
Mar 21, 2019https://github.com/RustPython/RustPython/pull/705#discussion_r267706714
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/RustPython/RustPython/pull/705
cthulahoopshttps://github.com/cthulahoops
Mar 21, 2019https://github.com/RustPython/RustPython/pull/705#discussion_r267706771
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/RustPython/RustPython/pull/705
OddCoincidencehttps://github.com/OddCoincidence
Mar 21, 2019https://github.com/RustPython/RustPython/pull/705#discussion_r267709493
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/RustPython/RustPython/pull/705
cthulahoopshttps://github.com/cthulahoops
Mar 21, 2019https://github.com/RustPython/RustPython/pull/705#discussion_r267728536
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/RustPython/RustPython/pull/705
OddCoincidencehttps://github.com/OddCoincidence
Mar 21, 2019https://github.com/RustPython/RustPython/pull/705#discussion_r267853711
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/RustPython/RustPython/pull/705
cthulahoopshttps://github.com/cthulahoops
Mar 21, 2019https://github.com/RustPython/RustPython/pull/705#discussion_r267861117
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/RustPython/RustPython/pull/705
vm/src/obj/objstr.rshttps://github.com/RustPython/RustPython/pull/705/files#diff-5959b66a45a435519c5d9ab11fd775670a67b19cb079f0025a673c87849da0ea
OddCoincidencehttps://github.com/OddCoincidence
Mar 20, 2019https://github.com/RustPython/RustPython/pull/705#discussion_r267427049
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/RustPython/RustPython/pull/705
cthulahoopshttps://github.com/cthulahoops
Mar 20, 2019https://github.com/RustPython/RustPython/pull/705#discussion_r267476917
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/RustPython/RustPython/pull/705
cthulahoopshttps://github.com/cthulahoops
Mar 20, 2019https://github.com/RustPython/RustPython/pull/705#discussion_r267477877
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/RustPython/RustPython/pull/705
https://github.com/cthulahoops
Introduce TryIntoRef to make vm.get_attribute more usable.https://github.com/RustPython/RustPython/pull/705/commits/e66b5078a887a622e48ced73dfaa8391bd1bdea1
e66b507https://github.com/RustPython/RustPython/pull/705/commits/e66b5078a887a622e48ced73dfaa8391bd1bdea1
https://github.com/cthulahoops
cthulahoopshttps://github.com/cthulahoops
force-pushedhttps://github.com/RustPython/RustPython/compare/3d14ae116f9038621d9327ff3d80170781c67852..e66b5078a887a622e48ced73dfaa8391bd1bdea1
3d14ae1https://github.com/RustPython/RustPython/commit/3d14ae116f9038621d9327ff3d80170781c67852
e66b507https://github.com/RustPython/RustPython/commit/e66b5078a887a622e48ced73dfaa8391bd1bdea1
Compare https://github.com/RustPython/RustPython/compare/3d14ae116f9038621d9327ff3d80170781c67852..e66b5078a887a622e48ced73dfaa8391bd1bdea1
March 21, 2019 10:58https://github.com/RustPython/RustPython/pull/705#event-2219360445
https://github.com/codecov-io
codecov-iohttps://github.com/codecov-io
Mar 21, 2019https://github.com/RustPython/RustPython/pull/705#issuecomment-475205594
Codecovhttps://codecov.io/gh/RustPython/RustPython/pull/705?src=pr&el=h1
#705https://codecov.io/gh/RustPython/RustPython/pull/705?src=pr&el=desc
masterhttps://codecov.io/gh/RustPython/RustPython/commit/5a1a436c1e7bd5e885aca20550b87ccc0b8dfeb2?src=pr&el=desc
https://codecov.io/gh/RustPython/RustPython/pull/705?src=pr&el=tree
Impacted Fileshttps://codecov.io/gh/RustPython/RustPython/pull/705?src=pr&el=tree
vm/src/exceptions.rshttps://codecov.io/gh/RustPython/RustPython/pull/705/diff?src=pr&el=tree#diff-dm0vc3JjL2V4Y2VwdGlvbnMucnM=
vm/src/stdlib/dis.rshttps://codecov.io/gh/RustPython/RustPython/pull/705/diff?src=pr&el=tree#diff-dm0vc3JjL3N0ZGxpYi9kaXMucnM=
vm/src/obj/objstr.rshttps://codecov.io/gh/RustPython/RustPython/pull/705/diff?src=pr&el=tree#diff-dm0vc3JjL29iai9vYmpzdHIucnM=
vm/src/vm.rshttps://codecov.io/gh/RustPython/RustPython/pull/705/diff?src=pr&el=tree#diff-dm0vc3JjL3ZtLnJz
vm/src/builtins.rshttps://codecov.io/gh/RustPython/RustPython/pull/705/diff?src=pr&el=tree#diff-dm0vc3JjL2J1aWx0aW5zLnJz
vm/src/frame.rshttps://codecov.io/gh/RustPython/RustPython/pull/705/diff?src=pr&el=tree#diff-dm0vc3JjL2ZyYW1lLnJz
vm/src/pyobject.rshttps://codecov.io/gh/RustPython/RustPython/pull/705/diff?src=pr&el=tree#diff-dm0vc3JjL3B5b2JqZWN0LnJz
4 morehttps://codecov.io/gh/RustPython/RustPython/pull/705/diff?src=pr&el=tree-more
Continue to review full report at Codecovhttps://codecov.io/gh/RustPython/RustPython/pull/705?src=pr&el=continue
Click here to learn morehttps://docs.codecov.io/docs/codecov-delta
Codecovhttps://codecov.io/gh/RustPython/RustPython/pull/705?src=pr&el=footer
5a1a436...e66b507https://codecov.io/gh/RustPython/RustPython/pull/705?src=pr&el=lastupdated
comment docshttps://docs.codecov.io/docs/pull-request-comments
Please reload this pagehttps://github.com/RustPython/RustPython/pull/705
https://github.com/cthulahoops
cthulahoopshttps://github.com/cthulahoops
ce120c1https://github.com/RustPython/RustPython/commit/ce120c13b7691ba3e702b89944a1142ee8c3f74a
Mar 21, 2019https://github.com/RustPython/RustPython/pull/705#event-2219516747
https://github.com/cthulahoops
cthulahoopshttps://github.com/cthulahoops
April 9, 2019 19:52https://github.com/RustPython/RustPython/pull/705#event-2264031743
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%2F705
https://github.com/OddCoincidence
OddCoincidence https://github.com/OddCoincidence
https://github.com/RustPython/RustPython/pull/705/files/e66b5078a887a622e48ced73dfaa8391bd1bdea1
Please reload this pagehttps://github.com/RustPython/RustPython/pull/705
https://github.com/cthulahoops
https://github.com/coolreader18
https://github.com/codecov-io
https://github.com/OddCoincidence
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.