Re: Real-world use cases for map's None fill-in feature?

2006-01-09 Thread Anders Hammarquist
d data, and attValue is what the macro wants to append. --->8--- newAttrVal = [] for x, y in map(None, oldAttrVal, attrValue): newAttrVal.append(u''.join((x or '', y or ''))) --->8--- /Anders -- -- Of course I'm crazy, but that doesn&

Re: Is 'everything' a refrence or isn't it?

2006-01-07 Thread Anders Hammarquist
eference to the name, rather than changing the referenced object. /Anders -- -- Of course I'm crazy, but that doesn't mean I'm wrong. Anders Hammarquist | [EMAIL PROTECTED] Physics student, Chalmers University of Technology, | Hem: +46 31 88 48 50 G|