New submission from iqanansoft <iqanans...@gmail.com>:
Hello, in a list, when using the slice notation, if a higher rank is placed than the new data, the positions of the list are removed list_test=[0,1,2,3,4,5,6] list_test[2:4]=["two","three"] result-->[0,1,'two','three',4,5,6] this is correct, but this list_test=[0,1,2,3,4,5,6] list_test[2:21]=["two","three"] result-->[0,1,'two','three'] deleted last positions ---------- messages: 386130 nosy: iqanansoft priority: normal severity: normal status: open title: Deleted positions lists type: behavior versions: Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue43099> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com