Naming dictionaries recursively

TYR a.harrowell at gmail.com
Sat Aug 18 06:44:56 EDT 2007


That sounds like a solution. I think the core of the question is as
follows; if I was to call the dict() function for each line, thus
creating a dictionary, and then rename it to dict['name'], will there
be a namespace collision on the next loop when dict() is called again?
Obviously the first dictionary will still be there, as it still has a
refcount of 1; but if it gets overwritten, will the object that the
new name refers to be overwritten too?




More information about the Python-list mailing list