kw.update(izip(islice(argnames, start, len(argnames) - len(defaults)),
args))
does not work because in Python 2.3 update can not take an iterable as
argument. This can be easily corrected by using
kv_pairs = izip(islice(argnames, start, len(argnames) - len(defaults)),
args)
for k,v in kv_pairs:
kw[k] = v
Thanks!
I got the same problem this Thursday. My project did work on my laptop with 2.4
but it didn't on a development machine with 2.3. I thoght I'll have to
investigate that next week, but now I know the answer =)
--
Timur Izhbulatov
OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia
P:+7 495 105 7245 + ext.205 F:+7 495 105 7246 E:TimurIz...@oilspace.com
Building Successful Supply Chains - One Solution At A Time.
www.oilspace.com
You will have to register if you aren't already because we've had a
lot of trouble with wikispam.
--Mark Ramm
--
Mark Ramm-Christensen
email: mark at compoundthinking dot com
blog: www.compoundthinking.com/blog