In message <[EMAIL PROTECTED]>, Tim Peters wrote: > [Tim Peters] >>> You should also note that copying a dict key or value (no matter of >>> what type) consists in its entirety of copying one machine address (a >>> 4- or 8-byte pointer, depending on platform). > > [Lawrence D'Oliveiro] >> Actually, no. It also consists of updating reference counts as well. > > Not in context: dict resizing is refcount-neutral...
The question wasn't about resizing, it was about "copying a dict key or value". -- http://mail.python.org/mailman/listinfo/python-list