On Feb 26, 1:11 pm, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: > On Mon, 25 Feb 2008 23:58:52 -0800 (PST), [EMAIL PROTECTED] declaimed > the following in comp.lang.python: > > > The generic solution involves a second level of indirection: tuple* d= > > &obj.a. I can't land a clean solution to it though. > > And you wont, because the capability would break Python's > immutability rules. > > If you really want to play with pointers, write in C... > -- > Wulfraed Dennis Lee Bieber KD6MOG > [EMAIL PROTECTED] [EMAIL PROTECTED] > HTTP://wlfraed.home.netcom.com/ > (Bestiaria Support Staff: [EMAIL PROTECTED]) > HTTP://www.bestiaria.com/
I confess, sometimes I pass a one-length list to a function, just so it can modify in-place. -- http://mail.python.org/mailman/listinfo/python-list