Amaury Forgeot d'Arc added the comment: This is expected: "zc = xxx" updates locals! but not the copy. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue17546> _______________________________________