-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Implement protocols (Abstract obejcts layer) #3244
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
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
Closed
|
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 PyObjectRef
invm/src/protocol/object.rs
will be enuoghCallable
trait to provide type slotcall
.PyCallable
protocol object to provide interface (at least check) Add protocol object PyCallable #4654AsNumber
trait to provide type slotas_number
. Implement Number Protocol #3507PyBool
#4639PyByteArray
#4574PyBytes
#3903PyDict
#4644PyType
,PySet
andPyFrozenSet
#4619PyType
,PySet
andPyFrozenSet
#4619PyType
,PySet
andPyFrozenSet
#4619MappingProxy
#3898PyIndex_Check
PyNumber
Implement Number Protocol #3507AsSequence
trait to provide type slotas_sequence
. Impl PySequence Protocol #3316as_sequence
forarray
#4585PySequence
type or trait to support sequence features. Impl PySequence Protocol #3316 Refactor and new sequence traits, generic sequence operation #3445SimpleSeq
before working on it.Mapping
trait to provide type slotas_mapping
AsMapping
forPyStr
#3417mapping
trait forGenericAlias
#3374PyMapping
type to provide its methodsIterator
protocol for type slotiternext
AsBuffer
protocol for type slotas_buffer
Implement Buffer Protocol #2226PyBuffer
typeThe text was updated successfully, but these errors were encountered: