On Jan 29, 11:22 am, Peter Otten <__pete...@web.de> wrote: > The name is looked up in the code object. As that is immutable you have to > make a new one: [details snipped]
thanks very much! sorry i didn't reply earlier - been travelling. (also, thanks to any other replies - i'm just reading through at the moment and this is the first one i've got to that will help me solve it, but i don't mean to exclude anything later...!) andrew -- http://mail.python.org/mailman/listinfo/python-list