This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author iqanansoft
Recipients iqanansoft
Date 2021-02-02.08:06:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1612253163.41.0.307973043012.issue43099@roundup.psfhosted.org>
In-reply-to
Content
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
History
Date User Action Args
2021-02-02 08:06:03iqanansoftsetrecipients: + iqanansoft
2021-02-02 08:06:03iqanansoftsetmessageid: <1612253163.41.0.307973043012.issue43099@roundup.psfhosted.org>
2021-02-02 08:06:03iqanansoftlinkissue43099 messages
2021-02-02 08:06:03iqanansoftcreate