Leandro Lucarella:
> A more general solution is supporting tuples in the language, then you can
> do something like:
> a, b = b, a;

I have implemented that time ago for ShedSkin, here George Sakkis (first 
answer) suggests how to minimize the number of auxiliary variables:
http://groups.google.com/group/comp.lang.python/browse_thread/thread/a218f066bef2fc9e/931a4331b18bc5f5

Bye,
bearophile

Reply via email to