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 steven.daprano
Recipients Massimiliano Culpo, docs@python, steven.daprano
Date 2017-12-12.12:39:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1513082387.35.0.213398074469.issue32288@psf.upfronthosting.co.za>
In-reply-to
Content
Please don't report three issues under one ticket, unless they are so closely related that they cannot be separated.

I don't understand what your second issue actually is. You refer to the docs that specify extended syntax as [start:stop:step] but then you tried [start:stop,step] which is correctly an error. (Notice the comma instead of colon.)

And again, your third issue to do with list.insert ... what is your actual bug report? Have you found an example where these aren't equivalent?

alist.insert(pos, value)

alist[pos:pos] = [value]

I don't understand your third bug report here... you show two examples where the insert function works as documented. You say you didn't expect the behaviour, but what behaviour did you expect?
History
Date User Action Args
2017-12-12 12:39:47steven.dapranosetrecipients: + steven.daprano, docs@python, Massimiliano Culpo
2017-12-12 12:39:47steven.dapranosetmessageid: <1513082387.35.0.213398074469.issue32288@psf.upfronthosting.co.za>
2017-12-12 12:39:47steven.dapranolinkissue32288 messages
2017-12-12 12:39:47steven.dapranocreate