[issue7075] Bug while put a set on a dict
Chu-Cheng added the comment: my fault, I know what is the difference now :) sorry for bugging -- status: open -> closed ___ Python tracker <http://bugs.python.org/iss
[issue7075] Bug while put a set on a dict
New submission from Chu-Cheng : >>> x={1:{1}} >>> x[1] = (x.get(1).add(2)) >>> x {1: None} But... >>> x={1:{1}} >>> o = x.get(1) >>> o.add(2) >>> o {1, 2} >>> x[1] = o >>> x {1: {1, 2}} -- components: N