Feature
CPython:
>>> dir(dict().keys())
['__and__', '__class__', '__contains__', '__delattr__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__iter__', '__le__', '__len__', '__lt__', '__ne__', '__new__', '__or__', '__rand__', '__reduce__', '__reduce_ex__', '__repr__', '__reversed__', '__ror__', '__rsub__', '__rxor__', '__setattr__', '__sizeof__', '__str__', '__sub__', '__subclasshook__', '__xor__', 'isdisjoint']
RustPython:
>>>>> dir(dict().keys())
['__class__', '__delattr__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__iter__', '__le__', '__len__', '__lt__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__reversed__', '__setattr__', '__str__', '__subclasshook__']
Diff:
'__contains__'
'__and__'
'__rxor__'
'isdisjoint'
'__or__'
'__rand__'
'__ror__'
'__xor__'
'__rsub__'
'__sub__'
'__sizeof__'
The same is for dict_values and dict_items
Feature
CPython:
RustPython:
Diff:
'__contains__''__and__''__rxor__''isdisjoint''__or__''__rand__''__ror__''__xor__''__rsub__''__sub__''__sizeof__'The same is for
dict_valuesanddict_items