Context manager to temporarily change the variable of a register [aka write swap(a,b)]

Evan Driscoll evaned at
Tue Aug 25 22:24:08 CEST 2009

On Aug 25, 3:07 pm, Evan Driscoll <eva... at> wrote:
> Okay, so I think I actually got this with some consultation with a
> friend. Critiques?

This is wrong; it's not quite working right. It does with the example
I posted, but not in a more thorough test.

I'm still ignoring the "you can't do this" answers for a little while
more and continuing to try to hack on it. :-)


More information about the Python-list mailing list