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

Evan Driscoll evaned at gmail.com
Tue Aug 25 16:24:08 EDT 2009


On Aug 25, 3:07 pm, Evan Driscoll <eva... at gmail.com> 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. :-)

Evan



More information about the Python-list mailing list