along the lines, hash and obj. id.

castironpi at castironpi at
Wed Feb 27 03:54:41 CET 2008

On Feb 26, 1:11 pm, Dennis Lee Bieber <wlfr... at> wrote:
> On Mon, 25 Feb 2008 23:58:52 -0800 (PST), castiro... at 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
>         wlfr... at             wulfr... at
>                 HTTP://
>         (Bestiaria Support Staff:               web-a... at
>                 HTTP://

I confess, sometimes I pass a one-length list to a function, just so
it can modify in-place.

More information about the Python-list mailing list