| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:d34839a7-f746-da77-ab5f-cf62dd1dbf51 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C566:1247D9:2C379C5:3F06640:6A5907D9 |
| html-safe-nonce | 3de8afcab18921e4cf3716e7ca7538c52c6c3934983ca44d5aa0e116767dbe3d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNTY2OjEyNDdEOToyQzM3OUM1OjNGMDY2NDA6NkE1OTA3RDkiLCJ2aXNpdG9yX2lkIjoiMTA3Njg5NjMzNzUyOTIxMDg0MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 41fd5bd8e3649978bac48b4d3f9437a3adff80aa411cf82e08de9da7940cd896 |
| hovercard-subject-tag | pull_request:253679022 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/RustPython/RustPython/488/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/b44eda1fe1abbb30e01ba1d1344ac9fbac75457a107de2ab471f2559e8c604c2/RustPython/RustPython/pull/488 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b44eda1fe1abbb30e01ba1d1344ac9fbac75457a107de2ab471f2559e8c604c2/RustPython/RustPython/pull/488 |
| og:image:alt | 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... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | BenLewis-Seequent |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6 |
| turbo-cache-control | no-cache |
| go-import | github.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git |
| octolytics-dimension-user_id | 39710557 |
| octolytics-dimension-user_login | RustPython |
| octolytics-dimension-repository_id | 135201145 |
| octolytics-dimension-repository_nwo | RustPython/RustPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 135201145 |
| octolytics-dimension-repository_network_root_nwo | RustPython/RustPython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9842457e8d7e3b2e1635a63af28da35614845510 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/RustPython/RustPython/pull/488#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F488 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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 |
|
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 |
| Reload | https://github.com/RustPython/RustPython/pull/488 |
| Reload | https://github.com/RustPython/RustPython/pull/488 |
| Reload | https://github.com/RustPython/RustPython/pull/488 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/488 |
|
RustPython
| https://github.com/RustPython |
| RustPython | https://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
100
| 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-Seequent | https://github.com/BenLewis-Seequent |
| RustPython:master | https://github.com/RustPython/RustPython/tree/master |
| BenLewis-Seequent:weakref_callback | https://github.com/BenLewis-Seequent/RustPython/tree/weakref_callback |
| Conversation | https://github.com/RustPython/RustPython/pull/488 |
| Commits10 (10) | https://github.com/RustPython/RustPython/pull/488/commits |
| Checks | https://github.com/RustPython/RustPython/pull/488/checks |
| Files changed | https://github.com/RustPython/RustPython/pull/488/files |
| Weakref callback | https://github.com/RustPython/RustPython/pull/488#top |
| BenLewis-Seequent | https://github.com/BenLewis-Seequent |
| RustPython:master | https://github.com/RustPython/RustPython/tree/master |
| BenLewis-Seequent:weakref_callback | https://github.com/BenLewis-Seequent/RustPython/tree/weakref_callback |
|
| https://github.com/BenLewis-Seequent |
| BenLewis-Seequent | https://github.com/BenLewis-Seequent |
| Feb 17, 2019 | https://github.com/RustPython/RustPython/pull/488#issue-411132730 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/488 |
| skinnyBat | https://github.com/skinnyBat |
| February 17, 2019 08:15 | https://github.com/RustPython/RustPython/pull/488#commits-pushed-8dd5810 |
|
| https://github.com/skinnyBat |
| Make PyObjectRef and PyObjectWeakRef it's own type. | https://github.com/RustPython/RustPython/pull/488/commits/8dd58108485224bce8eeb672ad77468add7510f5 |
| 8dd5810 | https://github.com/RustPython/RustPython/pull/488/commits/8dd58108485224bce8eeb672ad77468add7510f5 |
|
| https://github.com/skinnyBat |
| Move weakref type to obj folder, as it's a core type and needs to be | https://github.com/RustPython/RustPython/pull/488/commits/0c1bee994627f9af3dce46f03532397a0779ccb5 |
| 0c1bee9 | https://github.com/RustPython/RustPython/pull/488/commits/0c1bee994627f9af3dce46f03532397a0779ccb5 |
|
| https://github.com/skinnyBat |
| Add callback to object being reference. | https://github.com/RustPython/RustPython/pull/488/commits/eab6e2f3b2bfe27c773c9c45426cb22fc3ac2d33 |
| eab6e2f | https://github.com/RustPython/RustPython/pull/488/commits/eab6e2f3b2bfe27c773c9c45426cb22fc3ac2d33 |
| https://github.com/windelbouwman |
| windelbouwman | https://github.com/windelbouwman |
| Feb 17, 2019 | https://github.com/RustPython/RustPython/pull/488#issuecomment-464424311 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/488 |
| https://github.com/BenLewis-Seequent |
| BenLewis-Seequent | https://github.com/BenLewis-Seequent |
| Feb 17, 2019 | https://github.com/RustPython/RustPython/pull/488#issuecomment-464426281 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/488 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/488 |
| skinnyBat | https://github.com/skinnyBat |
| February 18, 2019 19:26 | https://github.com/RustPython/RustPython/pull/488#commits-pushed-6a13a83 |
|
| https://github.com/skinnyBat |
| Merge branch 'master' into weakref_callback | https://github.com/RustPython/RustPython/pull/488/commits/6a13a83e2d3de0888526aabefb7c0c60e4520b23 |
| 6a13a83 | https://github.com/RustPython/RustPython/pull/488/commits/6a13a83e2d3de0888526aabefb7c0c60e4520b23 |
|
| https://github.com/skinnyBat |
| Queue up objects to be deleted to allow for weakref callbacks | https://github.com/RustPython/RustPython/pull/488/commits/435510570cfd5559a8de4d35117354c0f4f87294 |
| 4355105 | https://github.com/RustPython/RustPython/pull/488/commits/435510570cfd5559a8de4d35117354c0f4f87294 |
|
| https://github.com/skinnyBat |
| Add more tests for weakref and fix objects not holding there weak | https://github.com/RustPython/RustPython/pull/488/commits/195a56a66b67f117471057589872ab407f72703f |
| 195a56a | https://github.com/RustPython/RustPython/pull/488/commits/195a56a66b67f117471057589872ab407f72703f |
|
| https://github.com/skinnyBat |
| Merge branch 'master' into weakref_callback | https://github.com/RustPython/RustPython/pull/488/commits/80c72d0f6ef75411a7f423c013c0b403666327ef |
| 80c72d0 | https://github.com/RustPython/RustPython/pull/488/commits/80c72d0f6ef75411a7f423c013c0b403666327ef |
|
| https://github.com/skinnyBat |
| Fix clippy warning | https://github.com/RustPython/RustPython/pull/488/commits/e89f8fafe55082143b231b79098d0643e2b1c82c |
| e89f8fa | https://github.com/RustPython/RustPython/pull/488/commits/e89f8fafe55082143b231b79098d0643e2b1c82c |
|
| https://github.com/skinnyBat |
| Formatting | https://github.com/RustPython/RustPython/pull/488/commits/b6d28cf425de8dd68a6bb12f7dfdea3ee300dc17 |
| b6d28cf | https://github.com/RustPython/RustPython/pull/488/commits/b6d28cf425de8dd68a6bb12f7dfdea3ee300dc17 |
| https://github.com/BenLewis-Seequent |
| BenLewis-Seequent | https://github.com/BenLewis-Seequent |
| February 19, 2019 08:41 | https://github.com/RustPython/RustPython/pull/488#event-2148148415 |
| https://github.com/BenLewis-Seequent |
| BenLewis-Seequent | https://github.com/BenLewis-Seequent |
| Feb 19, 2019 | https://github.com/RustPython/RustPython/pull/488#issuecomment-465041312 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/488 |
| https://github.com/codecov-io |
| codecov-io | https://github.com/codecov-io |
| Feb 19, 2019 | https://github.com/RustPython/RustPython/pull/488#issuecomment-465046711 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/488 |
| Codecov | https://codecov.io/gh/RustPython/RustPython/pull/488?src=pr&el=h1 |
| #488 | https://codecov.io/gh/RustPython/RustPython/pull/488?src=pr&el=desc |
| master | https://codecov.io/gh/RustPython/RustPython/commit/fcea8455fad865f886959aaf8cca6aa6b08d3e3b?src=pr&el=desc |
| https://codecov.io/gh/RustPython/RustPython/pull/488?src=pr&el=tree |
| Impacted Files | https://codecov.io/gh/RustPython/RustPython/pull/488?src=pr&el=tree |
| vm/src/obj/objstr.rs | https://codecov.io/gh/RustPython/RustPython/pull/488/diff?src=pr&el=tree#diff-dm0vc3JjL29iai9vYmpzdHIucnM= |
| vm/src/sysmodule.rs | https://codecov.io/gh/RustPython/RustPython/pull/488/diff?src=pr&el=tree#diff-dm0vc3JjL3N5c21vZHVsZS5ycw== |
| vm/src/obj/objtype.rs | https://codecov.io/gh/RustPython/RustPython/pull/488/diff?src=pr&el=tree#diff-dm0vc3JjL29iai9vYmp0eXBlLnJz |
| vm/src/builtins.rs | https://codecov.io/gh/RustPython/RustPython/pull/488/diff?src=pr&el=tree#diff-dm0vc3JjL2J1aWx0aW5zLnJz |
| vm/src/stdlib/weakref.rs | https://codecov.io/gh/RustPython/RustPython/pull/488/diff?src=pr&el=tree#diff-dm0vc3JjL3N0ZGxpYi93ZWFrcmVmLnJz |
| vm/src/frame.rs | https://codecov.io/gh/RustPython/RustPython/pull/488/diff?src=pr&el=tree#diff-dm0vc3JjL2ZyYW1lLnJz |
| vm/src/pyobject.rs | https://codecov.io/gh/RustPython/RustPython/pull/488/diff?src=pr&el=tree#diff-dm0vc3JjL3B5b2JqZWN0LnJz |
| vm/src/obj/objweakref.rs | https://codecov.io/gh/RustPython/RustPython/pull/488/diff?src=pr&el=tree#diff-dm0vc3JjL29iai9vYmp3ZWFrcmVmLnJz |
| 8 more | https://codecov.io/gh/RustPython/RustPython/pull/488/diff?src=pr&el=tree-more |
| Continue to review full report at Codecov | https://codecov.io/gh/RustPython/RustPython/pull/488?src=pr&el=continue |
| Click here to learn more | https://docs.codecov.io/docs/codecov-delta |
| Codecov | https://codecov.io/gh/RustPython/RustPython/pull/488?src=pr&el=footer |
| fcea845...350bc30 | https://codecov.io/gh/RustPython/RustPython/pull/488?src=pr&el=lastupdated |
| comment docs | https://docs.codecov.io/docs/pull-request-comments |
| Please reload this page | https://github.com/RustPython/RustPython/pull/488 |
| https://github.com/adrian17 |
| adrian17 | https://github.com/adrian17 |
|
Feb 19, 2019
| https://github.com/RustPython/RustPython/pull/488#pullrequestreview-205095028 |
|
View reviewed changes
| https://github.com/RustPython/RustPython/pull/488/files/b6d28cf425de8dd68a6bb12f7dfdea3ee300dc17 |
| vm/src/pyobject.rs | https://github.com/RustPython/RustPython/pull/488/files/b6d28cf425de8dd68a6bb12f7dfdea3ee300dc17#diff-84524dac95852f23d03df0b427c833911eb825066c10e1bbeac03a99db0d5caa |
| adrian17 | https://github.com/adrian17 |
| Feb 19, 2019 | https://github.com/RustPython/RustPython/pull/488#discussion_r257944339 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/488 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| #371 | https://github.com/RustPython/RustPython/issues/371 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/488 |
| BenLewis-Seequent | https://github.com/BenLewis-Seequent |
| Feb 20, 2019 | https://github.com/RustPython/RustPython/pull/488#discussion_r258372454 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| #371 | https://github.com/RustPython/RustPython/issues/371 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/488 |
|
| https://github.com/skinnyBat |
| Move weak_refs attribute into Instance payload | https://github.com/RustPython/RustPython/pull/488/commits/350bc30311ef76fcbcfaf34a3521edd5c71eaa34 |
| 350bc30 | https://github.com/RustPython/RustPython/pull/488/commits/350bc30311ef76fcbcfaf34a3521edd5c71eaa34 |
| https://github.com/windelbouwman |
| windelbouwman | https://github.com/windelbouwman |
| Mar 2, 2019 | https://github.com/RustPython/RustPython/pull/488#issuecomment-468904308 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/488 |
| https://github.com/BenLewis-Seequent |
| BenLewis-Seequent | https://github.com/BenLewis-Seequent |
| Mar 3, 2019 | https://github.com/RustPython/RustPython/pull/488#issuecomment-468984097 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/488 |
| https://github.com/BenLewis-Seequent |
| BenLewis-Seequent | https://github.com/BenLewis-Seequent |
|
Mar 9, 2019
| https://github.com/RustPython/RustPython/pull/488#ref-pullrequest-419032681 |
|
Move weakref object type to obj module
#636
| https://github.com/RustPython/RustPython/pull/636 |
| https://github.com/BenLewis-Seequent |
| BenLewis-Seequent | https://github.com/BenLewis-Seequent |
| Mar 9, 2019 | https://github.com/RustPython/RustPython/pull/488#issuecomment-471145029 |
| #636 | https://github.com/RustPython/RustPython/pull/636 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/488 |
| https://github.com/BenLewis-Seequent |
| BenLewis-Seequent | https://github.com/BenLewis-Seequent |
| Mar 9, 2019 | https://github.com/RustPython/RustPython/pull/488#event-2191614673 |
| https://github.co/hiddenchars |
| https://github.com/RustPython/RustPython/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F488 |
|
| https://github.com/adrian17 |
|
adrian17
| https://github.com/adrian17 |
|
| https://github.com/RustPython/RustPython/pull/488/files/b6d28cf425de8dd68a6bb12f7dfdea3ee300dc17 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/488 |
|
| https://github.com/BenLewis-Seequent |
|
| https://github.com/windelbouwman |
|
| https://github.com/codecov-io |
|
| https://github.com/adrian17 |
|
| https://github.com/skinnyBat |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |