René's URL Explorer Experiment


Title: Weakref callback by BenLewis-Seequent · Pull Request #488 · RustPython/RustPython · GitHub

Open Graph Title: Weakref callback by BenLewis-Seequent · Pull Request #488 · RustPython/RustPython

X Title: Weakref callback by BenLewis-Seequent · Pull Request #488 · RustPython/RustPython

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

Open Graph Description: I have made changes to allow weak references to have callbacks, but I have ran into a problem about how to run these callbacks during drop as we have no reference in the virual machine within the d...

X Description: I have made changes to allow weak references to have callbacks, but I have ran into a problem about how to run these callbacks during drop as we have no reference in the virual machine within the d...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:b32fcbe8-b9c9-4066-9fcd-d1750d178e50
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC92E:DAF2E:1394B11:1BFDEBD:6A5A2049
html-safe-nonce493fbd149306a4732a466a1b4078ae7c9802259a573593916747660de43ffadd
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOTJFOkRBRjJFOjEzOTRCMTE6MUJGREVCRDo2QTVBMjA0OSIsInZpc2l0b3JfaWQiOiI2ODE3MDM4MjMyMTk2ODgyNTA1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac3924e8bdbbcc016555d61bb8d4a8803cdf03a93cf1e24e8aa5413a8ac8d29df0
hovercard-subject-tagpull_request:253679022
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/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/RustPython/RustPython/pull/488/commits
twitter:imagehttps://opengraph.githubassets.com/b44eda1fe1abbb30e01ba1d1344ac9fbac75457a107de2ab471f2559e8c604c2/RustPython/RustPython/pull/488
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b44eda1fe1abbb30e01ba1d1344ac9fbac75457a107de2ab471f2559e8c604c2/RustPython/RustPython/pull/488
og:image:altI have made changes to allow weak references to have callbacks, but I have ran into a problem about how to run these callbacks during drop as we have no reference in the virual machine within the d...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameBenLewis-Seequent
hostnamegithub.com
expected-hostnamegithub.com
Nonee31742e80bbd077fd5679c13ed870ce4e0c13803a2fa5beaae557b6769de2c8a
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
releasec9fcdbf98c619d1561ed843fa01d9766a32b5cd9
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/RustPython/RustPython/pull/488/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F488%2Fcommits
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%2F488%2Fcommits
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%2Fcommits&source=header-repo&source_repo=RustPython%2FRustPython
Reloadhttps://github.com/RustPython/RustPython/pull/488/commits
Reloadhttps://github.com/RustPython/RustPython/pull/488/commits
Reloadhttps://github.com/RustPython/RustPython/pull/488/commits
Please reload this pagehttps://github.com/RustPython/RustPython/pull/488/commits
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 102 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
BenLewis-Seequenthttps://github.com/BenLewis-Seequent
RustPython:masterhttps://github.com/RustPython/RustPython/tree/master
BenLewis-Seequent:weakref_callbackhttps://github.com/BenLewis-Seequent/RustPython/tree/weakref_callback
Conversationhttps://github.com/RustPython/RustPython/pull/488
Commits10 (10)https://github.com/RustPython/RustPython/pull/488/commits
Checkshttps://github.com/RustPython/RustPython/pull/488/checks
Files changedhttps://github.com/RustPython/RustPython/pull/488/files
Weakref callbackhttps://github.com/RustPython/RustPython/pull/488/commits#top
BenLewis-Seequenthttps://github.com/BenLewis-Seequent
RustPython:masterhttps://github.com/RustPython/RustPython/tree/master
BenLewis-Seequent:weakref_callbackhttps://github.com/BenLewis-Seequent/RustPython/tree/weakref_callback
Make PyObjectRef and PyObjectWeakRef it's own type.https://github.com/RustPython/RustPython/pull/488/commits/8dd58108485224bce8eeb672ad77468add7510f5
https://github.com/skinnyBat
skinnyBathttps://github.com/RustPython/RustPython/commits?author=skinnyBat
8dd5810https://github.com/RustPython/RustPython/pull/488/commits/8dd58108485224bce8eeb672ad77468add7510f5
https://github.com/RustPython/RustPython/tree/8dd58108485224bce8eeb672ad77468add7510f5
Move weakref type to obj folder, as it's a core type and needs to behttps://github.com/RustPython/RustPython/pull/488/commits/0c1bee994627f9af3dce46f03532397a0779ccb5
https://github.com/skinnyBat
skinnyBathttps://github.com/RustPython/RustPython/commits?author=skinnyBat
0c1bee9https://github.com/RustPython/RustPython/pull/488/commits/0c1bee994627f9af3dce46f03532397a0779ccb5
https://github.com/RustPython/RustPython/tree/0c1bee994627f9af3dce46f03532397a0779ccb5
Add callback to object being reference.https://github.com/RustPython/RustPython/pull/488/commits/eab6e2f3b2bfe27c773c9c45426cb22fc3ac2d33
https://github.com/skinnyBat
skinnyBathttps://github.com/RustPython/RustPython/commits?author=skinnyBat
eab6e2fhttps://github.com/RustPython/RustPython/pull/488/commits/eab6e2f3b2bfe27c773c9c45426cb22fc3ac2d33
https://github.com/RustPython/RustPython/tree/eab6e2f3b2bfe27c773c9c45426cb22fc3ac2d33
Merge branch 'master' into weakref_callbackhttps://github.com/RustPython/RustPython/pull/488/commits/6a13a83e2d3de0888526aabefb7c0c60e4520b23
https://github.com/skinnyBat
skinnyBathttps://github.com/RustPython/RustPython/commits?author=skinnyBat
6a13a83https://github.com/RustPython/RustPython/pull/488/commits/6a13a83e2d3de0888526aabefb7c0c60e4520b23
https://github.com/RustPython/RustPython/tree/6a13a83e2d3de0888526aabefb7c0c60e4520b23
Queue up objects to be deleted to allow for weakref callbackshttps://github.com/RustPython/RustPython/pull/488/commits/435510570cfd5559a8de4d35117354c0f4f87294
https://github.com/skinnyBat
skinnyBathttps://github.com/RustPython/RustPython/commits?author=skinnyBat
4355105https://github.com/RustPython/RustPython/pull/488/commits/435510570cfd5559a8de4d35117354c0f4f87294
https://github.com/RustPython/RustPython/tree/435510570cfd5559a8de4d35117354c0f4f87294
Add more tests for weakref and fix objects not holding there weakhttps://github.com/RustPython/RustPython/pull/488/commits/195a56a66b67f117471057589872ab407f72703f
https://github.com/skinnyBat
skinnyBathttps://github.com/RustPython/RustPython/commits?author=skinnyBat
195a56ahttps://github.com/RustPython/RustPython/pull/488/commits/195a56a66b67f117471057589872ab407f72703f
https://github.com/RustPython/RustPython/tree/195a56a66b67f117471057589872ab407f72703f
Merge branch 'master' into weakref_callbackhttps://github.com/RustPython/RustPython/pull/488/commits/80c72d0f6ef75411a7f423c013c0b403666327ef
https://github.com/skinnyBat
skinnyBathttps://github.com/RustPython/RustPython/commits?author=skinnyBat
80c72d0https://github.com/RustPython/RustPython/pull/488/commits/80c72d0f6ef75411a7f423c013c0b403666327ef
https://github.com/RustPython/RustPython/tree/80c72d0f6ef75411a7f423c013c0b403666327ef
Fix clippy warninghttps://github.com/RustPython/RustPython/pull/488/commits/e89f8fafe55082143b231b79098d0643e2b1c82c
https://github.com/skinnyBat
skinnyBathttps://github.com/RustPython/RustPython/commits?author=skinnyBat
e89f8fahttps://github.com/RustPython/RustPython/pull/488/commits/e89f8fafe55082143b231b79098d0643e2b1c82c
https://github.com/RustPython/RustPython/tree/e89f8fafe55082143b231b79098d0643e2b1c82c
Formattinghttps://github.com/RustPython/RustPython/pull/488/commits/b6d28cf425de8dd68a6bb12f7dfdea3ee300dc17
https://github.com/skinnyBat
skinnyBathttps://github.com/RustPython/RustPython/commits?author=skinnyBat
b6d28cfhttps://github.com/RustPython/RustPython/pull/488/commits/b6d28cf425de8dd68a6bb12f7dfdea3ee300dc17
https://github.com/RustPython/RustPython/tree/b6d28cf425de8dd68a6bb12f7dfdea3ee300dc17
Move weak_refs attribute into Instance payloadhttps://github.com/RustPython/RustPython/pull/488/commits/350bc30311ef76fcbcfaf34a3521edd5c71eaa34
https://github.com/skinnyBat
skinnyBathttps://github.com/RustPython/RustPython/commits?author=skinnyBat
350bc30https://github.com/RustPython/RustPython/pull/488/commits/350bc30311ef76fcbcfaf34a3521edd5c71eaa34
https://github.com/RustPython/RustPython/tree/350bc30311ef76fcbcfaf34a3521edd5c71eaa34
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.