Joshua Landau wrote: > On 5 February 2014 02:22, Dan Sommers <[email protected]> wrote: > >> On Tue, 04 Feb 2014 19:53:52 -0500, Roy Smith wrote: >> >> > In article <[email protected]>, >> > David Hutto <[email protected]> wrote: >> > >> >> Can anyone point out how using an int as a var is possible >> > >> > one = 42 >> > >> > (ducking and running) >> >> int = 42 >> >> (ducking lower and running faster) > > > globals()["1"] = 42 > > (limbo, limbo, limbo like me)
>>> import sys, ctypes >>> ctypes.memmove(id(42), id(1), sys.getsizeof(42)) 37657512 >>> 42 1 Hm... -- https://mail.python.org/mailman/listinfo/python-list
