[issue28423] list.insert(-1,value) is wrong!
stephen
report at bugs.python.org
Wed Oct 12 17:46:33 EDT 2016
New submission from stephen:
python3.4.3 on linux mint 17.3
interactive mode on terminal
>>> fred=[0,1,2,3,4]
>>> fred.insert(-1,9)
>>> fred
[0, 1, 2, 3, 9, 4]
We should get [0,1,2,3,4,9]. Embarrassing error!
----------
messages: 278541
nosy: unklestephen
priority: normal
severity: normal
status: open
title: list.insert(-1,value) is wrong!
type: behavior
versions: Python 3.4
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28423>
_______________________________________
More information about the Python-bugs-list
mailing list