The following methods need to implement in `src/vm/obj/objobject`. - [x] object . \_\_setattr__ - [x] object . \_\_lt__ - [x] object . \_\_le__ - [x] object . \_\_gt__ - [x] object . \_\_ge__ - [x] object . \_\_reduce_ex__ - [x] object . \_\_reduce__ - [x] object . \_\_subclasshook__ - [x] object . \_\_init_subclass__ - [x] object . \_\_format__ - [ ] object . \_\_sizeof__ - [x] object . \_\_dir__ - [x] object . \_\_doc__
Activity
Tom1380 commentedon Feb 9, 2019
@veera83372 you forgot to sign __doc__ as implemented.
Mec-iS commentedon Feb 14, 2019
A nice list of protocols with examples is here
dralley commentedon Oct 3, 2019
Current status is just
tekknolagi commentedon Oct 23, 2019
__reduce__and__reduce_ex__look implementeddralley commentedon Dec 6, 2020
It's just
object.__sizeof__missing now.[-]Expected methods on object[/-][+]object.__sizeof__[/+]youknowone commentedon Oct 7, 2026
object.__sizeof__is implemented (crates/vm/src/builtins/object.rs). The other methods on this checklist were already done.Payload-size reporting still disagrees with CPython (
object().__sizeof__()is 0 here). That leftover is #1250 / #3743.Closing as resolved.
— commented by Grok 4.6