-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement protocols (Abstract obejcts layer) #3244
Labels
A-design
About RustPython's own implementation
A-vm
Area: virtual machine
C-enhancement
New feature or request
Comments
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This was referenced Mar 2, 2023
This was referenced Mar 5, 2023
This was referenced Mar 7, 2023
This was referenced Oct 8, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-design
About RustPython's own implementation
A-vm
Area: virtual machine
C-enhancement
New feature or request


impl PyObjectRefinvm/src/protocol/object.rswill be enuoghCallabletrait to provide type slotcall.PyCallableprotocol object to provide interface (at least check) Add protocol object PyCallable #4654AsNumbertrait to provide type slotas_number. Implement Number Protocol #3507PyBool#4639PyByteArray#4574PyBytes#3903PyDict#4644PyType,PySetandPyFrozenSet#4619PyType,PySetandPyFrozenSet#4619PyType,PySetandPyFrozenSet#4619MappingProxy#3898PyIndex_CheckPyNumberImplement Number Protocol #3507AsSequencetrait to provide type slotas_sequence. Impl PySequence Protocol #3316as_sequenceforarray#4585PySequencetype or trait to support sequence features. Impl PySequence Protocol #3316 Refactor and new sequence traits, generic sequence operation #3445SimpleSeqbefore working on it.Mappingtrait to provide type slotas_mappingAsMappingforPyStr#3417mappingtrait forGenericAlias#3374PyMappingtype to provide its methodsIteratorprotocol for type slotiternextAsBufferprotocol for type slotas_bufferImplement Buffer Protocol #2226PyBuffertypeThe text was updated successfully, but these errors were encountered: