Can someone please explain this to me? This doesn\'t make any sense to me.
I copy a dictionary into another and edit the second and both are changed. Why is this hap
the following code, which is on dicts which follows json syntax more than 3 times faster than deepcopy
def CopyDict(dSrc): try: return json.loads(json.dumps(dSrc)) except Exception as e: Logger.warning("Can't copy dict the preferred way:"+str(dSrc)) return deepcopy(dSrc)