New issue 2196: RPython should support list-resizing setslice operations https://bitbucket.org/pypy/pypy/issues/2196/rpython-should-support-list-resizing
Ronan Lamy: Currently, RPython only supports `list1[a:b] = list2` if `b - a == len(list2)`. It should support it in all cases. This would simplify some interp-level code like https://bitbucket.org/pypy/pypy/src/d4774974048860b281f9d7cdd7723e5da3e62092/pypy/objspace/std/listobject.py?at=default&fileviewer=file-view-default#listobject.py-1473 and avoid confusing the annotator. The main function to change is `rpython.rtyper.rlist.ll_listsetslice`. BTW, this is probably doable by a newcomer without too much trouble. _______________________________________________ pypy-issue mailing list pypy-issue@python.org https://mail.python.org/mailman/listinfo/pypy-issue