Title: Move weakref object type to obj module by BenLewis-Seequent · Pull Request #636 · RustPython/RustPython · GitHub
Open Graph Title: Move weakref object type to obj module by BenLewis-Seequent · Pull Request #636 · RustPython/RustPython
X Title: Move weakref object type to obj module by BenLewis-Seequent · Pull Request #636 · RustPython/RustPython
Description: Promote weakref to be a core type by moving it out of its stdlib module and into the obj module. This is required to implement weakref callbacks, which I will redo in a followup PR. This was originally implemented as part of the outdated #488 PR. Also, I have migrated the weakref type to use the 'any' payload and new style functions. I built this on top of #635, so I could use PyRef::new_with_type.
Open Graph Description: Promote weakref to be a core type by moving it out of its stdlib module and into the obj module. This is required to implement weakref callbacks, which I will redo in a followup PR. This was origin...
X Description: Promote weakref to be a core type by moving it out of its stdlib module and into the obj module. This is required to implement weakref callbacks, which I will redo in a followup PR. This was origin...
Opengraph URL: https://github.com/RustPython/RustPython/pull/636
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:87600bad-cf60-bcd2-bc20-b2dcaaad78c9 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 852A:61DF9:2C94577:3FC91EB:6A5909C0 |
| html-safe-nonce | d064740ac984e5bf84695e8ed6bb7de6d5ca6522026f7ffabce8c41c86fd87b3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTJBOjYxREY5OjJDOTQ1Nzc6M0ZDOTFFQjo2QTU5MDlDMCIsInZpc2l0b3JfaWQiOiI1MDIwODE5NDQ5NzQ1OTI0NDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5e8be98ac18cf047d80fabb917d3ab7ebc42ea9b943de1a3d4e5544fb462026e |
| hovercard-subject-tag | pull_request:259664886 |
| 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 | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/RustPython/RustPython/pull/636/files |
| twitter:image | https://avatars.githubusercontent.com/u/7391596?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/7391596?s=400&v=4 |
| og:image:alt | Promote weakref to be a core type by moving it out of its stdlib module and into the obj module. This is required to implement weakref callbacks, which I will redo in a followup PR. This was origin... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4eb8ea312922ccce63e833964f9606d971cffb2d5b6c10a62c4a7dcc48d826e2 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 886a6c6fbce3d3caad5b3b995ef09ff6ca23f10e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width