R. David Murray added the comment: I haven't read the thread that Ned points to, but I do note that replacing the value is exactly how Python dict literals work.
Also, even if we decide that we want an error, I don't think it is a change that could be backported, since it could easily make currently working code stop working. (This is may be a case where "status quo wins a stalemate".) ---------- nosy: +r.david.murray _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17537> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com