Title: feat(vm/slot): implement `Py_TPFLAGS_MANAGED_DICT` for class objects by ever0de · Pull Request #5949 · RustPython/RustPython · GitHub
Open Graph Title: feat(vm/slot): implement `Py_TPFLAGS_MANAGED_DICT` for class objects by ever0de · Pull Request #5949 · RustPython/RustPython
X Title: feat(vm/slot): implement `Py_TPFLAGS_MANAGED_DICT` for class objects by ever0de · Pull Request #5949 · RustPython/RustPython
Description: Reference https://github.com/python/cpython/blob/cba2974a545c9d35f15f25575c214fbda601a47a/Objects/typeobject.c#L4264-L4310 https://github.com/python/cpython/blob/cba2974a545c9d35f15f25575c214fbda601a47a/Objects/typeobject.c#L3658-L3683 https://github.com/python/cpython/blob/cba2974a545c9d35f15f25575c214fbda601a47a/Objects/typeobject.c#L3906-L3946 MANAGED_DICT: https://github.com/python/cpython/blob/49365bd110a254a6a304d2f880482bfeb2e4490d/Include/object.h#L532-L535 Waiting for CPython Issue(PR) python/cpython#136535 #5949 (comment) Summary by CodeRabbit New Features Improved handling of type attributes for custom classes, ensuring correct support for types with and without __slots__. Bug Fixes Fixed an issue where types with __slots__ were incorrectly assigned dictionary-related flags. Chores Updated internal flags to better represent type characteristics.
Open Graph Description: Reference https://github.com/python/cpython/blob/cba2974a545c9d35f15f25575c214fbda601a47a/Objects/typeobject.c#L4264-L4310 https://github.com/python/cpython/blob/cba2974a545c9d35f15f25575c214fbda6...
X Description: Reference https://github.com/python/cpython/blob/cba2974a545c9d35f15f25575c214fbda601a47a/Objects/typeobject.c#L4264-L4310 https://github.com/python/cpython/blob/cba2974a545c9d35f15f25575c214fbda6...
Opengraph URL: https://github.com/RustPython/RustPython/pull/5949
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:22325b9f-c4dc-8660-d271-bf10e01047ed |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C930:DE287:1B649EE:244FBFF:696AF8BF |
| html-safe-nonce | b25c14a900f45451435eecab6ad8989e9bf21d838b6d7a5bd5fae87179edcb65 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOTMwOkRFMjg3OjFCNjQ5RUU6MjQ0RkJGRjo2OTZBRjhCRiIsInZpc2l0b3JfaWQiOiIxOTgyMzUxMDA5MTY1MDE1MjMxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b72be13e7b15a7e8bbbff8f2f39c743a322b37b2605ec34f97714011777a9266 |
| hovercard-subject-tag | pull_request:2659546398 |
| 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/5949/files |
| twitter:image | https://avatars.githubusercontent.com/u/27040963?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/27040963?s=400&v=4 |
| og:image:alt | Reference https://github.com/python/cpython/blob/cba2974a545c9d35f15f25575c214fbda601a47a/Objects/typeobject.c#L4264-L4310 https://github.com/python/cpython/blob/cba2974a545c9d35f15f25575c214fbda6... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width