Currently vector_indexing_suite implements a few methods that you would expect from list but not all. It means I have to put this type in my_cpp_modules.pyi:
Instead of deriving from Iterable[T], Container[T], Sized it would be much better if it were just a MutableSequence[T]. However that needs a few more methods (see the table at the top of this page):
Specifically:
insert
reverse
pop
remove
__iadd__
Those methods should be added. It looks like it should be pretty easy.
A similar issue may exist for map_indexing_suite/MutableMapping but I haven't used it yet.
Currently
vector_indexing_suite
implements a few methods that you would expect fromlist
but not all. It means I have to put this type inmy_cpp_modules.pyi
:Instead of deriving from
Iterable[T], Container[T], Sized
it would be much better if it were just aMutableSequence[T]
. However that needs a few more methods (see the table at the top of this page):Specifically:
insert
reverse
pop
remove
__iadd__
Those methods should be added. It looks like it should be pretty easy.
A similar issue may exist for
map_indexing_suite
/MutableMapping
but I haven't used it yet.