Issue 7075: Bug while put a set on a dict (original) (raw)

Issue7075

Created on 2009-10-07 03:46 by chucheng, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg93674 - (view) Author: Chu-Cheng (chucheng) Date: 2009-10-07 03:46
>>> 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}}
msg93675 - (view) Author: Chu-Cheng (chucheng) Date: 2009-10-07 04:05
my fault, I know what is the difference now :) sorry for bugging
History
Date User Action Args
2022-04-11 14:56:53 admin set github: 51324
2009-10-07 15:31:17 benjamin.peterson set resolution: not a bug
2009-10-07 04:05:59 chucheng set status: open -> closedmessages: +
2009-10-07 03:46:10 chucheng create