> I know, I just wondered if there is a *standard* solution. Yeah, you have to reset your brain and switch to Python mode. *scnr*
Seriously, your inquiry sounds like you are trying to code C in Python. I'm using Python for more than seven years and I've never felt the need for a mutable float ref or something similar. Well, except for the first year when my brain was still in C pointer mode. :) -- http://mail.python.org/mailman/listinfo/python-list